Home > PC 101 > DOS Commands

DOS Commands

MSBACKUP or Backup Files

Type MSBACKUP to open the backup program.

Batch Files

Batch Files are text files containing DOS Commands that runs automatically.

Cancel

Press Esc.

Cancel a DOS Command

Press Ctrl+C. If Ctrl+C does not work, try Ctrl+Break.

CD or Change Directory Command

Change Drives from the A Drive to C Drive

Type C: or letter C and the colon.

Change Drives from the C Drive to A Drive

Type A: or letter A and the colon.

CHKDSK or Check a Disk's Size

Type CHKDSK to view how much memory on the disk.
Type CHKDSK A: to view how much memory on the disk in the A Drive.

CLS or Clear the Screen

Type CLS.

COPY or Copy a File

DATE

Type DATE to check or change the current date.

DEL or Delete a File

DIR or Directory Command

DISKCOPY or Duplicating Disks

Type DISKCOPY A: A: to copy a disk using the A Drive. Follow the prompt's instructions.

DOS

DOS stands for Disk Operating System. MS-DOS stands for Microsoft Disk Operating System.

DOS Prompt

The DOS prompt is either c> or C:\>.

EDIT or Opening the DOS Editor

Type EDIT to open the DOS Editor.

Exit

Type Exit to exit DOS.

Finding a Lost File

Type DIR \[FILENAME] /S /P where [FILENAME] is the filename with the file extension.

Finding a Lost Subdirectory

Type DIR \*.* /A:D /S | FIND "[DIRECTORY NAME]" where [DIRECTORY NAME] is in upper case or all caps.

FORMAT or Format a Disk

Help or the Command Line to get Information for a DOS Command

Long Filenames

Long filenames must be enclosed in quotes.

MD or Make Directory

Type MD [DIRECTORY] to create a new directory.

MEM or Memory

Type MEM to view the memory in the computer.

Move a File

Type COPY [FILENAME] C:\[NEWFILENAME]. [FILENAME] is the file to be moved and C:\[NEWFILENAME] is [FILENAME] with the new file name. After the file is successfully moved, delete [FILENAME] by typing DEL [FILENAME].

Pause A Display

Press Ctrl+S.

Print at DOS

Press Ctrl+P to turn on and to turn off DOS's printer.
Type DIR > PRN to print a directory's list of files. Make sure the DOS printer is on. Laser printers prints when a full page can be generated. If a full page can't be generated, press DIR > PRN again and again until the printer starts printing. Another option is to take the printer offline and press the Form Feed or Eject button.

REN or Rename a File

Repeat The Last DOS Command

Press F3.

SCANDISK or ScanDisk

Type SCANDISK to scan a disk for any errors. Available with MS-DOS 6.2.

TIME

Type TIME to check or change the current time.

TREE or Tree Structure

TYPE or View a File

VER or Version

Type VER to find out which version is on the computer.

UNDELETE or Undelete a File

UNDELETE works with Windows 95 and earlier.

Wildcards

Windows

Type WIN at the DOS prompt to run Windows.


Home | Brief Bio | Favorite Quotes | Top Ten | Economic Statistics | Economics | Links | Stocks | Resume | Sailor Moon RPG | Stories, Lists, Jokes, Tid-Bits | Photo Album | Predictions 1999 | Robotech Episodes | First Aid Kit | Anime Fan | Anime CD | Public Safety Tips | Fiction Stories | Silicon Valley Life | Tandem Chess | Anime Gallery | September 11, 2001 | PC 101 | Site Map |

Email: raym61@hotmail.com

Date Last Updated: Saturday February 23, 2002