In some Windows OS, every command line program works fine, but in some Windows OS, such as WinXP,
This program cannot be run in DOS mode error occurs.
How do I avoid this problem?
|show 2 more comments|
Are you using Command.com or Cmd.exe? Try Cmd.
Also if you're using a shortcut to get to the command prompt, make sure you've not messed with the program's settings, especially those related to Memory or Compatibility (note: screenshots sourced from random site, do not configure as shown since those are probably not all default settings):