Hi Bruce,
I just created a shortcut to command.com named MS-DOS Prompt.
command.com opened fine from that shortcut/pif.
I changed the Cmd line to C:\WINDOWS\system32\cmd.exe from
C:\WINDOWS\system32\command.com under the Program tab and Applied it.
I opened the shortcut, cmd.exe and ntvdm.exe both started.
Using Task Manager, ntvdm.exe showed up as the Process for cmd.exe/MS-DOS
Prompt from that shortcut.
A Search for *.pif found that shortcut that I had created.
I deleted the shortcut/pif.
So your suspicion is probably correct.
Delete that pif/shortcut and create a new shortcut for cmd.exe if you
want to. Maybe that will help with your other problem.
One way to tell a pif from a regular shortcut is that pif Properties have
Program, Font, Memory, Screen and Misc tabs and regular shortcuts do not
have those tabs.
Also a 16-bit .exe file does not have a Version tab under file Properties
and a 32-bit .exe does.
There should be a file called command, with no extension, in
C:\WINDOWS\system32. That command file is a pif for command.com
If I run from the start run, I get the actual NTVDM.
Do you mean Start | Run | cmd | gets you ntvdm?
wowexec.exe is used in conjunction with ntvdm.exe to run old DOS
applications.
[[MS-DOS and 16-bit Windows programs actually run as a Win32 process.
The program that creates the virtual MS-DOS environments for these to
run in (NTVDM.EXE) is a Win32 program. A virtual DOS machine (VDM) is
created for the program, so it thinks that it is running on a machine by
itself. However, the virtual machine is a normal 32-bit Windows NT
process and is subject to the same rules of preemptive multitasking as
is other programs. However, this only applies to MS-DOS programs. ]]
[[To run 16-bit Windows applications, NT uses a VDM that contains an
extra software layer called the Win16 on Win32 (WOW) layer. Although
the VDM for Windows shares some of the code for MS-DOS VDM, all Windows
applications share the same VDM. The reason this is done is to simulate
the environment that 16-bit Windows applications run in. Because
Windows applications might want to communicate with one another, a
single VDM is used. Each 16-bit application runs as a thread of the
VDM; however, the WOW layers ensures that only one of these threads is
running at any given time. ]]
http://www.microsoft.com/technet/prodtechnol/winntas/evaluate/featfunc/windowsn.mspx#ETAA
[[ntvdm.exe is process that belongs to the Windows 16-bit Virtual
Machine. It provides an environment for a 16-bit process to execute on a
32-bit platform. ]]
http://www.liutilities.com/products/wintaskspro/processlibrary/ntvdm/
Troubleshooting MS-DOS-based programs in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;314106
How to Troubleshoot 16-Bit Windows Programs in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;314495
If you're running a bunch of old 16-bit programs, take a look at this,
Lots of good 16-bit info here...
Appendix D - Running Nonnative Applications in Windows 2000 Professional
http://www.microsoft.com/technet/prodtechnol/Windows2000Pro/reskit/part8/proch36.mspx
HOW TO Identify a 16-bit Program in Windows XP
http://support.microsoft.com/?id=320127