Change Drive command
Changing drives in DOS is very easy. Simply type the letter of the drive you
want to go to, a colon <:> and <Enter>.
C:\ D:
will take you from Drive C: to Drive D:
Change Directory command
CD ..
brings you to the parent directory of the current directory
List Files in Directory command
dir
· Use dir to display a detailed list of the contents of a directory.
· Use dir |more ("dir" followed by the vertical line character
and the word "more") if the listing is too long to fit on one screen.
Make Directory command
MKDIR dirname
creates a new directory at present location with name 'dirname"
Copy File command
copy sourcepath to source file <space> targetpath
copies from source path to target path
Edit Text File command
edit filename
will open basic editing tool for making simple changes to specified file
allows mouse driven commands
Other DOS commands
WARNING: Some of the following commands are extremely dangerous and you may
destroy your files and data very easily without intending to! Be Careful!
APPEND
Allows programs to open data files in specified directories as if they were
in the current directory.
CD
Displays the name of or changes the current directory.
CHDIR
Displays the name of or changes the current directory.
CLS
Clears the screen.
COPY
Copies one or more files to another location.
DATE
Displays or sets the date.
DEL
Deletes one or more files.
DELTREE
Deletes a directory and all the files and subdirectories in it.
DIR
Displays a list of files and subdirectories in a directory.
EDIT
Starts MS-DOS Editor, which creates and changes ASCII files.
ERASE
Deletes one or more files.
EXIT
Quits the COMMAND.COM program (command interpreter) and goes back to Windows.
FIND
Searches for a text string in a file or files.
FORMAT
Formats a disk for use with MS-DOS.
HELP
Provides complete, interactive Help information for MS-DOS commands.
MD
Creates a directory.
MKDIR
Creates a directory.
MORE
Displays output one screen at a time.
MOVE
Moves one or more files. Also renames files and directories.
PRINT
Prints a text file while you are using other MS-DOS commands.
RD
Removes a directory.
REN
Renames a file or files.
RENAME
Renames a file or files.
REPLACE
Replaces files.
RMDIR
Removes a directory.
TIME
Displays or sets the system time.
TREE
Graphically displays the directory structure of a drive or path.
TYPE
Displays the contents of a text file.
XCOPY
Copies files (except hidden and system files) and directory trees.