Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

NTVDM

Name: Anonymous 2009-04-02 10:16

where can i find a reference for NTVDM.exe and especially all its switches?

Name: Anonymous 2009-04-02 10:22

man NTVDM

Name: Anonymous 2009-04-02 10:26

>>2 not funny

Name: Anonymous 2009-04-02 10:36

NTVDM is a sort of native(uses native apis) CLI(yet, it displays a console window) appication. It's used to run the Virtual DOS machine, so basically emulating legacy DOS applications ( non-PE ). It's unusual to run it from the commandline, but possible. For tweaking settings check the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WOW key, and especially the wowcmdline value. For the listing of documented switches, see: http://support.microsoft.com/kb/102986

Defines the commmand line that runs when an MS-DOS-based  application runs
under Windows NT. This command line continues to run until the related
application is closed. The following switches can be included:

   Switch   Meaning
   ----------------
   -a       Specifies a command to pass to the VDM
   -f       Specifies the directory to find NTVDM.EXE
   -m       Hides the VDM console window
   -w       Specifies the WOW VDN

Default: %SystemRoot%\system32\ntvdm -f%SystemRoot%\system32 -a

Name: Anonymous 2009-04-02 10:36

>>3
Why?

Name: Anonymous 2009-04-02 10:36

s/appication/application

Name: Anonymous 2009-04-02 10:41

>>4
Thank you. What is the -i switch doing?
I see it as -i1 and -i12.

Name: Anonymous 2009-04-02 10:52

>>7
Yes, it seems that -i1 is passed too, but it seems to be an undocumented switch. Checking quickly with a disassembler shows that there's 2 undocumented switches -i and -o, the default seems to be -i0, so when -i1 is passed, a flag is being set. In the event the value is 0 and -w is passed it will call ShowStartGlass(20000), whatever that is, there's another possible option -s, which will set a flag called fSeparateWow. I can't find out more without getting getting a pdb from MS, but I'm too lazy to download the symbols.

Name: HAXUS THE GREAT 2009-04-02 11:33

HAXUS THE GREAT

Name: HAXUS THE GREAT 2009-04-02 11:33

HAXUS THE GREAT

Name: HAXUS THE GREAT 2009-04-02 11:33

HAXUS THE GREAT

Name: HAXUS THE GREAT 2009-04-02 11:33

HAXUS THE GREAT

Name: HAXUS THE GREAT 2009-04-02 11:33

HAXUS THE GREAT

Name: Anonymous 2009-04-02 18:16

>>8
Wow!

Name: Anonymous 2009-04-02 19:01

>>14
World of Warcraft!

Name: Anonymous 2010-12-09 3:43

Name: Anonymous 2011-02-03 2:06

Name: Anonymous 2013-01-19 23:12

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

Name: MRCS 2014-02-22 8:16

"Thank you. What is the -i switch doing?"
It tracks the total number of instances you have had.  For example, if you close one of two and then launch it again, it will be i3.  If you repeat that, the next will be i4.

Don't change these.
Name: Email:
Entire Thread Thread List