ms dos - What's the difference between MS-DOS and Batch? -


i read apparently ms-dos , batch not same thing, that's how i've been taught.

i couldn't find sites or q&a on can shed light?

batch file language part of msdos. has been part of msdos successors - os/2, windows 16 bit, win 32 on 9x msdos 7, , on win nt 32 bit msdos 5.5 current one. 64 bit doesn't have msdos.

in os/2 ibm engineers tried bolting programming language constructs on msdos batch - microsoft engineers updated windows 2000. remain compatible msdos batch requires horrible hacks. 2 command processors are

command.com - 16 bit msdos command processor. there many versions 1,2, 3, 3.3, 4, 5, 6, 6.22, (on 9x) 7, 7.1, (on win nt) 5.5.

cmd.exe - 32 bit or 64 bit windows command processor understands msdos syntax well. there 2 main versions - nt4 , os/2 , windows 2000 , later.

in windows if type in command.com sends command cmd.exe executed.

try this.

type in start - run

cmd 

then in console window

ver 

then type in start - run

command 

then in console window

ver 

then type in start - run

command /k ver 

also

just because program console program not imply either command processor involved. type ftp in start - run ftp.exe running in console.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -