DOS
Tips & Stuff : 


Create a batch file at the DOS prompt

Type: copy con nameof.bat
When you press enter type command then enter.
Type each command on each line.
When done, press enter on the last command line.
Then on the blank line under your commands press: Ctrl - Z and press Enter.
This will save your batch file in the subdirectory that you are in.
Be careful with this method you can not go back up to a line.

To the Top


List of Subdirectories only

Type: DIR *.

If you want them in alphabetical order type: /o

To the Top


Find a file using DIR

Type: DIR nameof.file /s
This command will search every subdirectory on your hard drive if you start from the root directory.

To the Top


Can't remember the switches for a command

Type the command then type: /?

To the Top


What would be a basic Config & Autoexec file to start with?

View / Print this file Basicsup.htm


DOS remember my commands

In your Autoexec.bat file add the following line:
C:\DOS\DOSKEY
This little program keeps track of each command you type at the DOS prompt. It is part of your DOS file, normally in the DOS directory on C:.

To the Top

 


Links for your convenience

Webmaster: E-Mail Address
Copyright © 1997 [BCA]. All rights reserved. -
Revised: March 15, 2008.