You are currently viewing our boards and having a limited access. Feel free to register so you can express your feelings with us. You need to register before you can post in forums. Registration takes only a minute. No validation via mail required in registration.

CMD.EXE or COMMAND.COM

View previous topic View next topic Go down

CMD.EXE or COMMAND.COM

Post by Justin_Romile on Thu May 13, 2010 11:00 am

Windows NT comes with two "command line shells" -- one called CMD.EXE and the other called COMMAND.COM. If you're wondering which one to use, following information might help:

CMD.EXE is the Windows NT's native command prompt (or shell), which means it is more portable among different hardware platforms. For example, if you type SET and press ENTER inside a CMD.EXE prompt, you'll notice that CMD.EXE exposes more environment variables than COMMAND.COM. On the other hand, COMMAND.COM is the more "MS-DOS compatible" version of the two shells. For example, this shell will call AUTOEXEC.NT and CONFIG.NT (located in the SYSTEM32 directory inside your Windows NT directory) just like MS-DOS used to call AUTOEXEC.BAT and CONFIG.SYS.

So, if you're having trouble running your old DOS command line programs from Windows NT, try running them inside a COMMAND.COM shell, not CMD.EXE.
avatar
Justin_Romile

Posts : 219
Join date : 2010-05-11
Age : 23
Location : Antipolo City, Philippines

http://viostech.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum