mirror of
https://github.com/reactos/reactos.git
synced 2024-07-12 07:35:10 +00:00
![]() Hackplement BOP_CMD function 0x08: "Launch external command". Still WIP. Explanation: Launching a command from command.com starts (under certain conditions not implemented there) "cmd.exe /c <the_command>" See https://groups.google.com/forum/#!topic/microsoft.public.win2000.cmdprompt.admin/n5KbegKJuE0 and http://technet.microsoft.com/en-us/library/cc723564.aspx#XSLTsection123121120120 subsection "CMD.EXE and COMMAND.COM": "Be aware that a command shell is not an MS-DOS command prompt, even though it shares the same icon. The Windows NT command shell is a full 32-bit Windows NT console application that resides in the CMD.EXE executable file. The MS-DOS command prompt is a 16-bit DOS application that resides in the COMMAND.COM executable file. Because COMMAND.COM is a 16-bit DOS executable, Windows NT executes this shell within a Windows NT virtual DOS machine (VDM). COMMAND.COM is supplied primarily for compatibility with MS-DOS. [...] This behavior reveals a quite subtle feature of Windows NT that is very important. The 16-bit MS-DOS shell (COMMAND.COM) that ships with Windows NT is specially designed for Windows NT. When a command is entered for execution by this shell, it does not actually execute it. Instead, it packages the command text and sends it to a 32-bit CMD.EXE command shell for execution. Because all commands are actually executed by CMD.EXE (the Windows NT command shell), the 16-bit shell inherits all the features and facilities of the full Windows NT shell." svn path=/branches/ntvdm/; revision=61290 |
||
---|---|---|
.. | ||
bios.c | ||
bios.h | ||
bop.c | ||
bop.h | ||
CMakeLists.txt | ||
cmos.c | ||
cmos.h | ||
dos.c | ||
dos.h | ||
emulator.c | ||
emulator.h | ||
int32.c | ||
int32.h | ||
io.c | ||
io.h | ||
ntvdm.c | ||
ntvdm.h | ||
ntvdm.rc | ||
ntvdm.spec | ||
pic.c | ||
pic.h | ||
ps2.c | ||
ps2.h | ||
registers.c | ||
registers.h | ||
resource.h | ||
rsrc.rc | ||
speaker.c | ||
speaker.h | ||
timer.c | ||
timer.h | ||
vddsup.c | ||
vddsup.h | ||
vga.c | ||
vga.h |