-1
0
In some Windows OS, every command line program works fine, but in some Windows releases—such as Windows XP— I get this error:
“This program cannot be run in DOS mode.”
How do I avoid this problem?
This problem occurs when I attempt to use nmap
, pwdump
and zenmap
but calc.exe
work and other built-in exe's work. What is happening?
What program are you trying to run that causes that? – Synetech – 2012-09-18T23:21:57.310
nmap, pwdump and etc. (zenmap is not working also, in graphical side) but calc.exe works and other built-in exe's, so I am going like, what the hell is this? – user41648 – 2012-09-18T23:28:15.103
Hmm, that’s strange because it sounds like a permission issue, but that wouldn’t be the error for permissions. – Synetech – 2012-09-18T23:38:11.770
Could this be DEP? – None – 2012-09-18T23:45:16.243
@RandolphWest, I can’t imagine that DEP would throw that error. The only reasons I can think of for that specific error would be either running it in DOS, or if the executable is corrupt. – Synetech – 2012-09-18T23:49:43.950
Mmm, that implies
command
vscmd
then. Alternatively, 64-bit XP (though that's unlikely). – None – 2012-09-19T00:00:09.517Remember, 64-bit OS cannot run 16-bit programs. I don't think its an issue here, but be aware. – Mike Christiansen – 2012-10-02T06:33:56.660