Site hosted by Angelfire.com: Build your free website today!
 

 

 

Changing Directories in DOS

Normally, you can move up one directory level by typing CD ..
The DOS with Windows95 allows you to continue moving up beyond the first directory by simply adding more periods
For example, to move up two levels, type CD ...

Adding DOSKEY to your DOS Window

One way to have DOSKEY available when you open a DOS window would be to have it in the AUTOEXEC.BAT file.
This takes away conventional memory, even when you don't have a DOS window open.
To only use DOSKEY when you open a DOS window:

  • Right click on your DOS shortcut
  • Select Properties
  • Click on the Program tab
  • Add DOSKEY > NUL to the Batch File field
  • You can also add /INSERT if you prefer

DOS Command History

If you use DOSKEY in your AUTOEXEC.BAT file you can show and recall the history of commands you enter and the DOS prompt.

  • To recall previous commands, use the up arrow key.
  • A complete list of previous commands can be shown if you press the F7 key
  • To use one, press F9 and the number of the command you want to use
  • To clear the cache, press Alt+F7

Showing Long and Short Filenames

There are two additional switches that can be used when doing a DIR

  • /B - Shows only the long filename, no details
  • /Z - Shows the short filename, with details
  • /B /Z - Shows only short filename, with no details