Sunday, July 20, 2008

Simple, Useful, DOS Commands

In the DOS Interface, you can also perform simple tasks quickly and efficiently, such as copying, moving or renaming directories or files.

The Copy Command
To copy a file or directory, the following format is used:

e:\> copy_(filename.ext)_(new file location)
e:\> copy winterdance.doc b:\

The above example will copy the document named "winterdance" from its current location, on the e: drive, to a new location, the root directory of the b: drive.

The Move Command
To move a file or directory, type the following command into DOS:

e:\> move_(old directory name)_(new directory name)

The Rename Command
To rename a file or group of files, use the following DOS command:

e:\>ren_(old filename)_(new filename)

Copying, Moving and Renaming files can be accomplished quickly using DOS.

No comments: