DIR
It displays the list of the files and directories of a particular drive or directory.
Syntax:-
DIR[Drive][Path][FileName][…][/p][/q][/w][/a][:]attributes]][o][:]SortOrdery]]
Paramets
[Drive:][Path]
Specifies the drive and directory for which you want to see a listing.
[FILENAME]
Specifies the drive and directory for which you want to see a listing
/p
Pauses after each screenfull on information
/w
Uses wide list format.
/a
Displays files with specified attributes.The attributes are:
D = Directoreis
R = Read-only files
H = Hidden files
S = system files
/o
List by files in sorted order:The order are:
N= By name(alphabetic)
S = By size(smallest first)
E = By extension(alphabetic)
D = By date & time(earliest first)
G = Group directories first
No comments:
Post a Comment