|
DIR
Displays information about windows directories(folders).
Displays a list of files and subdirectories in a directory.
DIR is a program that reads scans the current directory and
lists all the files. When you type DIR/P you are passing /P
to the program DIR as a Parameter. You can pass other
parameters to DIR. Try typing DIR/W, this puts the file list
in "wide" format. DIR R*.* will display all the files that
begin with the letter R. The "*.*" part of the parameter is
called a wildcard. A wildcard tells the program that
anything after the letter R does not matter. Try this one,
DIR *.*EXE. This will display all the files with the .EXE
extension.
DIR will display all the files, directories, file sizes,
time and date or creation.
DIR|MORE will show you the list and prompt to continue.
Similar to DIR/P.
DIR/B for bare or brief, shows only the filenames and their
extensions.
Batch File Commands
|