MS Dos Command



COMMAND        :               C:\>TIME
TASK                      :               To display time                 

COMMAND        :               C:\>DATE
TASK                      :               To display date

COMMAND        :               C:\>CLS
TASK                      :               To clear screen

COMMAND        :               C:\>VER
TASK                      :               To display the version of the operating system

COMMAND        :               C:\>MEM
TASK                      :               To display the amount of memory in the computer system

COMMAND        :               C:\>DIR
TASK                      :               To display directories & files

COMMAND        :               C:\>VOL
TASK                      :               To display the label of the hard disk

COMMAND        :               C:\>EDIT
TASK                      :               To go to the DOS Editor where you can create & work with files

DIR PARAMETERS

COMMAND        :               C:\>DIR/P
TASK                      :               To display all the directories & files page by page

COMMAND        :               C:\>DIR/S
TASK                      :               To display all directories, sub-directories & files

COMMAND        :               C:\>DIR/S/P
TASK                      :               To display all directories, sub-directories & files page by page

COMMAND        :               C:\>DIR/W
TASK                      :               To display all the directories & files on to the page width

COMMAND        :               C:\>DIR/ON
TASK                      :               To display directories & files in the ascending order

COMMAND        :               C:\>DIR/O-N
TASK                      :               To display directories & files in the descending order

COMMAND        :               C:\>DIR/OD
TASK                      :               To display all the directories & files on to the date

COMMAND        :               C:\>DIR/L
TASK                      :               To display the directories & files in simple letters

COMMAND        :               C:\>DIR/4
TASK                      :               To display the year the files & folders were created

COMMAND        :               C:\>MD_(directory name)
TASK                     :               To make a new dierectory

COMMAND        :               C:\>CD_(directory name)
TASK                     :               To change the directory

COMMAND        :               C:\>CD\
TASK                     :               To change the directory to the command prompt

COMMAND        :               C:\>CD..
TASK                     :               To go to the previous directory

FILES

COMMAND        :               C:\>DEL_(file name)
TASK                     :               To delete files

COMMAND        :               C:\>COPY_(file name)_(destination)
TASK                     :               To copy a file
                               

Example à         C:\>copy project3.pas C:\>IDM

COMMAND        :               C:\>MOVE_( file name)_(destination)
TASK                     :               To move the files from one location to another

COMMAND        :               C:\>REN_( file name)_(destination)
TASK                     :               To rename a file 

TO LABEL A FLOPPY DISK

COMMAND        :               C:\>A:
                                                A:\>LABEL
TASK                      :               To give a label to a floppy disk

WILD CARDS

v  (*) sign represents all or any number of characters
v  (?) sign represents a single character



No comments:

Post a Comment