Professional Documents
Culture Documents
and WINDOWS
DOS WINDOWS
• It is a CUI (Command • It is a GUI (Graphical
User interface) operating User Interface) operating
system. system.
• Need to type command in • Require one to select or
order to get work done. click the desired
command of action being
display on the screen.
• It is a single tasking
operating system. • It is a multitasking
operating system.
Types of DOS Commands
1) DIR: To Display a list of the files and subdirectories that are in the
directory you specify.
Syntax: DIR [drive:] [path] [filename]
2) MKDIR (MD): To create a new directory
Syntax: MD [drive:] path [directory name]
3) CD: To change directory
Syntax: CD filename
4) CD..: To change back to the parent directory
Syntax: CD..
5) CD\: To change back to the root directory
Syntax: CD\
6) RMDDIR (RD): To remove a directory.
Syntax: RD [drive:] path
7) Copy Con: To create a file
Syntax: Copy con filename
Ctrl +Z
8) Exit: To close the command prompt
9) CLS: To clear the screen
10) RENAME REN: To change the name of the file or files you specify
Syntax: REN filename1 filename2
11) Type: Display the contents of a text file
Syntax: type filename
12) TREE: Graphically displays the structure of a directory
Syntax: Tree [drive:] [path]
13) Date: To display the system date
14) Time: To display the system Time
15) DEL (Erase): Deletes the files you specify.
Syntax: Del [drive:] [path] filename
16) UNDELETE: Restore files that may have been deleted.
Syntax: Undelete [drive] [path] filename