%ì VAX-11 Librarian V04-00ÀŠ@éŽ.‘À¿LéŽ.‘ V 5 LDIR­€¤"âŽ.‘1 LDIRF LDIR provides a sorted list of the directories given. The files andF directories will be sorted and printed in separate lists. A maximum% of five names are printed per line. Format: LDIR [file-spec[,...]] 2 Parametersfile-spec[,...]F Specifies one or more files to be listed. The syntax of a fileD specification determines which file(s) will be listed, as follows:F o If you do not enter a file specification, the LDIR command lists@  all versions of the files in the current default directory.F o If you specify only a device name, the LDIR command uses your% default directory specification.F o Whenever the file specification does not include a file name andF file type, all versions of all files in the specified directory are listed.F o If a file specification contains a file name and/or file type and< no version number, the LDIR command lists all versions.F o If a file specificati on contains only a file name, the LDIRF command lists all files in the current default directory with; that name, regardless of file type and version number.F o If a file specification contains only a file type, the LDIRF command lists all files in the current default directory with@ that file type, regardless of file name and version number.F If you specify more than one file, separate the file specificationsF with commas. You can use wildcard characters in the directoryF specification, file name, file type, or version number fields of aF file specification to list all files that satisfy the components you specify.2 Command_Qualifiers /DIRECTORIES /DIRECTORIES /NODIRECTORIESF specifies whether directories are to be printed in the listing or ifF they are to be excluded. This qualifier is positional. The default is /DIRECTORIES./DOWN /DOWN /NODOWNF specifies whether files and directories are to be listedF alphabetically across or down. The default is /NODOWN, which lists across./EXCLUDE /EXCLUDE=(file-spec[...])F Any files that match the listed file specification(s) are excludedF from the DIRECTORY operation. If you specify only one file, you can omit the parentheses.F You cannot specify directories or files in the file specifications you exclude.F Wildcard characters are supported for file specifications. However,F you cannot use  relative version numbers to exclude a specific version./FILES /FILES /NOFILESF specifies whether non-directory files are to be printed in theF listing or if they are to be excluded. This qualifier is positional./OUTPUT /OUTPUT[=file-spec] /NOOUTPUTF Controls where the output of the command is sent. If you do notF enter the qualifier, or if you enter /OUTPUT without a fileF specification, the output is sent to the current process defaultE output stream or device, identified by the logical name SYS$OUTPUT.F If you enter /OUTPUT with a partial file specification (for example,F /OUTPUT=[JONES]), LDIR is the default file name and LIS the defaultF file type. If you enter a file specification, it may not include any wildcard characters./ If you enter /NOOUTPUT, output is suppressed. 2 examples ldir ldir [.mydir]/out=mydir1 ldir [username.hisdir]/nofiles,[user2.otherdir]! ldir [.bigdir...]/exclude=*.pas- ldir *.pas/exclude=(myproject.pas,foo*.pas)ww