COMMAND.COM IS NOT A VALID WIN32 APPLICATION? IN XP PRO

G

Guest

When i goto run and type command.com or goto c:\windows\system32\command.com i get the message COMMAND.COM IS NOT A VALID WIN32 APPLICATION. it only does this on 1 of the 3 xp computers. I need to run a dos program but I keep getting this error (it works on the other 2 xp computers). Please help.
 
S

Squire

Try using CMD.EXE on the Run line.

Command.Com is not used in Windows XP.

BC said:
When i goto run and type command.com or goto
c:\windows\system32\command.com i get the message COMMAND.COM IS NOT A VALID
WIN32 APPLICATION. it only does this on 1 of the 3 xp computers. I need to
run a dos program but I keep getting this error (it works on the other 2 xp
computers). Please help.
 
G

Guest

CMD.EXE works ok but when i try to run my program i get the ...is not a valid win32 application. the same program works on the other 2 xp systems but not mine. I can run command.com on the other 2 systems(looks like cmd.exe), but not min

note cmd says microsoft windows xp and shows a "dos prompt" with long filenames and command.com says microsoft windows dos and shows a "dos prompt" but with 8.3 filename abbreviations, so there is a difference
I went to microsoft support (kb314106) and it said something about ntvdm subsystem, checked config.nt and autoexec.nt, but I wasn't sure about the "examine the ntvdm system files" part, it says to make sure they are the correct version by checking the time and date but what time and date should they be??
 
S

Squire

After you use CMD.EXE, type CD\ and hit Enter to put you in the Root
directory.
Then try your Dos program.
Most of the older Dos programs will run just fine.

BC said:
CMD.EXE works ok but when i try to run my program i get the ...is not a
valid win32 application. the same program works on the other 2 xp systems
but not mine. I can run command.com on the other 2 systems(looks like
cmd.exe), but not mine
note cmd says microsoft windows xp and shows a "dos prompt" with long
filenames and command.com says microsoft windows dos and shows a "dos
prompt" but with 8.3 filename abbreviations, so there is a difference.
I went to microsoft support (kb314106) and it said something about ntvdm
subsystem, checked config.nt and autoexec.nt, but I wasn't sure about the
"examine the ntvdm system files" part, it says to make sure they are the
correct version by checking the time and date but what time and date should
they be??
 
G

Guest

I have already tried that, but it doesn't work. this is what i di
cdcd melse
medoc.ex
then i get the erro

any more ideas?
 
R

Robert

BC said:
When i goto run and type command.com or goto
c:\windows\system32\command.com i get the message COMMAND.COM IS NOT
A VALID WIN32 APPLICATION. it only does this on 1 of the 3 xp
computers. I need to run a dos program but I keep getting this error
(it works on the other 2 xp computers). Please help.
_________________________________

Hi!
Have you tried running your DOS program in the Windows 95 Compatibility
Mode?
 
G

Guest

Yes i have tried all of the compatability modes with no luck, it seems like something is wrong with ntvdm or it's setup
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top