dos.h

Dec 11, 2010 at 7:55am
what is the use of the header file dos.h and what re functions available through this header file???
Dec 11, 2010 at 9:56am
dos.h is a header for DOS. Since nowadays nobody uses DOS it's useless
Dec 22, 2010 at 10:33am
k...thnx
Dec 23, 2010 at 1:22am
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.
Dec 23, 2010 at 1:46am
No, it's not.
Dec 23, 2010 at 2:39am
cmd.exe does work as a DOS command line interpreter, though.
Dec 23, 2010 at 11:00am
cmd.exe executes similar commands as DOS, but it's a completely different platform. DOS programs won't run on that
Dec 23, 2010 at 11:13am
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 Dec 23, 2010 at 11:23am
Dec 23, 2010 at 1:45pm
@Grey Wolf: the commands it accepts come from DOS: dir, copy, cd, md...
Dec 23, 2010 at 2:07pm
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 Dec 23, 2010 at 2:08pm
Dec 23, 2010 at 2:10pm
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.
Dec 23, 2010 at 4:13pm
I see. Thanks for the clarifications.
Topic archived. No new replies allowed.