Syntaxtax :VER and Press < Enter>
So you get in your screen "MS-DOS Version 6.22" and returns to the prompt: A:\>
VOL:
It displays a volume label and the serial number of the current or specified disk. The length of the internal label is Maximum of 11 characters.
Syntaxtax: Vol [Drive:]
Example: Volume and Press < Enter>
Example : Volume in A:\> is mycomputer
CLS:
Syntaxtax : Cls
It clears the screen and displays the prompt at the top of the left corner of the Screen.
Syntaxtax: Cls
Ex: A:\> Cls and press < Enter>
DATE:
Date Command displays the current date and allows you to change it.
Syntaxtax : Date
Ex: A:\> Date and press < Enter>
Ex : A:\> Date
Current date is Thu 05-28-2010
Enter new date (MM-DD- YY) TIME:
TIME:
Time Command displays the Current system time allows you to change it.
Syntaxtax : Time
Ex: A:\> is TIME
DIR:
The DOS Directory Command (DIR) is used to display a listing of files on floppy diskette / hard disk.
Syntaxtax : DIR [ DRIVE :] {PATH} [FILE SPEC/FILE NAME]
[/P] [/W] [/B] [/C] [/SJ [/A : ATTRIBUTE]
[/O: SORT ORDER]
NOTE:
DIR displays a list of files, directories present in the Current or Specified drive or directory.
DIR/P
It lists one Screenful of files in the normal order, waits for to read it, and when you press any key. It scroll up one more screenful information.
Syntaxtax : DIR/P
Ex: A:\> DIR/p
DIR/W
It provides an easy - to - read directory listing which Contains only file names and their extensions.
Syntaxtax : DIR/W
Ex: A:> DIR/W
DIR/B
Listed the files on the diskette in 'B' drive though the present working drive is 'A'.
Syntax: DIR B:
Ex: A:> DIR B:
DIR/L
Displays the directory listing in lower case mode.
DIR/S
Display the all files and directories with Sub-Directories of the current or specified drive.
[/A: Attribute] : Display files or Sub-Directory having specified attributes which can be any of the following.
A - Archive
H – Hidden
S - System
D - Directory
R - Read Only
`-` - not
[/0: Sort order] : Specifies the order for starting the directory listing by primary name extension date or file size where the sorting order may be any of the following.
N - Alphabetical by primary name.
E - Alphabetical by Extension.
D - Date and Time [First]
G - Directories grouped before files.
" - " - Reverse Order.
0 comments:
Post a Comment