MS-DOS Commands
MS-DOS Commands
MS-DOS Commands
PH: 00971-55-9102989,
DUBAI, U.A.E.
MS-DOS COMMANDS
= = = = = = = = = = = =
1) INTERNAL COMMANDS
- - - - - - - - - - - - - - - - - - - - - - - -
1) CLS
TO CLEAR THE SCREEN.
2) DIR
TO DISPLAY THE LIST OF FILES AND DIRECTORIES.
4) CONTROL + Z (OR) F6
TO SAVE A FILE
7) VOL
TO SEE THE VOLUME LABEL OF THE DISK
8) VER
TO SEE THE DOS VERSION.
10) DATE
TO SEE THE CURRENT DATE.
11) TIME
TO SEE THE CURRENT TIME.
12) DIR/P
TO DISPLAY THE LIST OF FILES AND DIRECTORIES PAGE WISE.
13) DIR/W
TO DISPLAY THE LIST OF FILES AND DIRECTORIES
WIDTH WISE (IN COLUMNS).
14) DIR/S/P
TO DISPLAY THE LIST OF FILES AND DIRECTORIES
INCLUDING SUBDIRECTORIES.
15) DIR/AD
TO DISPLAY ONLY DIRECTORIES.
16) DIR/O:N
TO DISPLAY THE LIST OF FILES AND DIRECTORIES IN THE
ASCENDING ORDER OF NAMES.
17) DIR/O:-N
TO DISPLAY THE LIST OF FILES AND DIRECTORIES IN THE
DESCENDING ORDER OF NAMES.
18) DIR/O:E
TO DISPLAY THE LIST OF FILES AND DIRECTORIES IN THE
ASCENDING ORDER OF EXTENSION OF FILES.
19) DIR/O:-E
TO DISPLAY THE LIST OF FILES AND DIRECTORIES IN THE
DESCENDING ORDER OF EXTENSION OF FILES.
20) DIR/O:S
TO DISPLAY THE LIST OF FILES AND DIRECTORIES IN THE
ASCENDING ORDER OF SIZE.
21) DIR/O:-S
TO DISPLAY THE LIST OF FILES AND DIRECTORIES IN THE
fDESCENDING ORDER OF SIZE.
22) DIR/O:D
TO DISPLAY THE LIST OF FILES AND DIRECTORIES IN THE
ASCENDING ORDER OF DATE.
23) DIR/O:-D
TO DISPLAY THE LIST OF FILES AND DIRECTORIES IN THE
DESCENDING ORDER OF DATE.
25) CONTROL + C
TO STOP A DOS COMMAND.
30) PROMPT
TO CHANGE THE PROMPT
$P PROMPT ( C:\ )
$G GREATER THAN SIGN ( > )
$L LESS THAN SIGN ( < )
$Q EQUAL TO SIGN ( = )
$B BAR ( | )
$T CURRENT TIME
$D CURRENT DATE
$V VERSION NUMBER
$_ NEW LINE
2) EXTERNAL COMMANDS
-----------------------------------------
38) EDIT
TO EDIT A FILE USING FULL SCREEN EDITOR.
39) SORT
TO SORT A FILE ACCORDING TO ANY CHARACTER POSITION.
42) MEM
TO SEE THE MEMORY OF THE SYSTEM.
43) DOSKEY
TO EDIT AND RECALL COMMAND LINES USING ARROW KEYS.
44) FORMAT A:
TO MAKE A NEW FLOPPY READY FOR WRITING BY THE COMPUTER.
45) DISKCOPY A: B:
TO MAKE A DUPLICATE COPY OF THE DISK.