DOS Help and Commands

One of the best sites (I think) for MS-DOS help is:

The site gives you a complete overview of MS-DOS and it’s commands.

Some of the DOS commands I seem to use the most are:

  1. chkdsk (Example: chkdsk /f /r)
    A utility that checks the computer’s hard disk drives’ status for any cross-linked or any additionaly errors with the hard disk drive.
  2. ipconfig (Example: ipconfig/renew)
    A utility that displays the network settings currently assigned and given by a network.
  3. ftp (Example: ftp > open > > username > password > bye)
    File Transfer Protocol.
  4. ping (Example: ping
    A utility that helps in determining issues with networks and assists in resolving them.

DOS Paths

DOS requires you to put a path in quotes if it contains spaces.

If you try to run: C:\Documents and Settings\user\My Documents\foo.exe

You receive the error: C:\Documents is not recognized as an internal or external command, operable program or batch file.

However, if you try to run: “C:\Documents and Settings\user\My Documents\foo.exe”

It will work fine. This also applies to many other command line based applications.