DIR
DIR-Lists a directory of the disk located in the active (or logged) disk drive (disk A if the A> prompt is displayed, B if the B> prompt is displayed, and so on).
DIR D:-Lists a directory of the specified disk D:.
DIR/P or DIR D:/P- Pauses the directory listing when the screen is full. press any key to see the next screen load of filenames. Typing DIR |MORE achieves a similar result.
DIR/W or DIR D:/W- Display a wide directory; omits file size , date, and time information.
DIR filename.ext - Displays the specified filename; used to verify the presence of a file on the logged or specified disk.
DIR filename.* or DIR filename.???-Displays a directory of all files having the same filename with different extensions.
DIR *.ext or DIR ????????.ext-Displays a directory of all filenames having the specified extension.
DIR \pathname or DIR D:\pathname--Display a directory of all filename within the specified sub directory (pathname). The creation and use of sub directories, or paths, is presented in Section 4.
DIR \pathname\filename--Display a directory of the specified filename within the specified pathname.
DIR \pathname\pathname--Display a directory of the second-tier subdirectory. (Subdirectory can have subordinate directories of thier own. This is called branching.)
DIR .. or DIR \--Displays a parent directory from a sub directory.
Comments
Post a Comment