DIRECTORY Lists device or file directories
SYNTAX
DIRECTORY[/options] [ filespecs[/BEGIN]]
SEMANTICS
This command generates a listing of the directory you specify.
The default is a directory of the device DK:.
Specify only one input device. You can use wild cards in a file
specification. The default file type for output is .DIR.
OPTIONS
ALLOCATE:size
Use with /OUTPUT to reserve space for the output listing file
ALPHABETIZE
Sorts the directory in alphabetical order by file name and type
BADBLOCKS
Scans the device for bad blocks and displays their block number(s).
BEFORE[:dd:mmm:yyyy]
Lists the files created before the specified date. If the date
is omitted, the system date is used
BEGIN
Lists the directory, starting with the file you specify
BLOCKS
Lists the starting block numbers of the files
BRIEF
Lists only file names and file types of files; same as /FAST
COLUMNS:n
Specifies the number of columns in the directory listing
DATE[:dd:mmm:yyyy]
Lists the files created on the date you specify. If the date
is omitted, the system date is used
DELETED
Lists a directory of file names that have been deleted
DOS
Lists the directory of a DOS-11 or RSTS/E volume
END:n
Specifies the ending block of the bad block scan; valid only
with the /BADBLOCKS option
EXCLUDE
Lists all files except those you specify
FAST
Lists only file names and file types of files; same as /BRIEF
FILES
Prints the name of each file in which a bad block is found;
valid only with the /BADBLOCKS option
FREE
Lists unused areas
FULL
Lists the entire directory, including unused areas
INTERCHANGE
Lists the directory of an interchange format diskette
NEWFILES
Lists only those files dated with the current system date
NOPROTECTION
Lists only those files which are not protected against deletion
OCTAL
Lists file sizes and starting block numbers in octal
ORDER[:category]
Orders the directory listing according to the category
you specify; same as /SORT. Categories are:
DATE- orders by creation date
NAME- orders alphabetically by file name
POSITION- orders by file position on the device
SIZE- orders by file size
TYPE- orders alphabetically by file type
OUTPUT:filespec
Outputs the directory listing to the file you specify
OWNER:[nnn,nnn]
Specifies the UIC of the directory to be listed; valid only
with the /DOS option
POSITION (default)
Outputs the directory in the physical order in which the
files reside on the device.
PRINTER
Outputs the directory to the device currently assigned "LP:"
PROTECTION
Lists only the files that are protected against deletion
REVERSE
Reverses the order of any directory sort in effect
SINCE[:dd:mmm:yyyy]
Lists files created on or after the date you specify. If the
date is omitted, the system date is used
SORT[:category]
Orders the directory listing according to the category
you specify; same as /ORDER
START:n
Specifies the starting block number of the bad block scan;
valid only with the /BADBLOCKS option
SUMMARY
Lists the segment structure of the directory you specify
TERMINAL (default)
Lists the directory on the terminal
TOPS
Lists the directory of a DECsystem-10 formatted DECtape.
VOLUMEID[:ONLY]
Prints the disk or magtape volume ID and owner name; if :ONLY
is not present, also lists the directory
WAIT
Waits for you to change volumes before proceeding with the
directory operation.
EXAMPLES
DIRECTORY
DIRECTORY/BADBLOCKS RK1:
DIRECTORY MYPROG.MAC
DIRECTORY/FULL/BEFORE:12:APR:84 DK:
DIRECTORY/EXCLUDE DX0:(*.SAV,*.SYS)
DIRECTORY/SINCE:1:JAN:84
Tim Shoppa
7328 Bradley Blvd
Bethesda, MD 20817
Voice:+1 301 767 5917
Fax:+1 301 767 5927
Email:shoppa@trailing-edge.com