dos.h

what is the use of the header file dos.h and what re functions available through this header file???
dos.h is a header for DOS. Since nowadays nobody uses DOS it's useless
k...thnx
dos.h is a header for DOS. Since nowadays nobody uses DOS it's useless


Hmmm... how abt the Windows Command Prompt program (black color background) we use to type our commands, is that under DOS also ? Just curious.
No, it's not.
cmd.exe does work as a DOS command line interpreter, though.
cmd.exe executes similar commands as DOS, but it's a completely different platform. DOS programs won't run on that
closed account (z05DSL3A)
cmd.exe does work as a DOS command line interpreter, though.

cmd.exe is a command line interpreter for WindowsTM, nowt to do with DOS.

Edit:
I must refresh before posting when I have rudely been interrupted by work.
Last edited on
@Grey Wolf: the commands it accepts come from DOS: dir, copy, cd, md...
closed account (z05DSL3A)
the commands it accepts come from DOS: dir, copy, cd, md...

in so much as they have the same name but then I can use dir on my Mac and get a directory listing dose that make that a DOS command line interpreter?
Last edited on
Sorry to be pedantic, but you can run DOS programs on 32-bit Windows: http://en.wikipedia.org/wiki/Virtual_8086_mode

Also Grey Wolf is right, cmd.exe is not a DOS interpreter, it just implements many of the same commands as DOS did.
I see. Thanks for the clarifications.
Topic archived. No new replies allowed.