;Create ^M^aster ^D^irectory ^L^isting
^% MAKMDL %^
% James A. Jarboe IV %
^MAKMDL^ is a quick and easy way to create a ^M^aster ^D^irectory ^L^isting
similar to the ^AMOS^ command ^DIR/V/H/D^. ^MAKMDL^ will also include the
creation date and time, the name of the user that created the listing,
(provided that user name is set), and the current version of the
operating system.
If the sequential file ^SYSNAM^.^DAT^ is on DSK0:[1,4] the data in that file,
usually the system name, will also be included in the directory listing.
The directory listing created with ^MAKMDL^ can be verified with ^VERDIR.LIT^
available on the AMUS Network. Directory listings created with ^MAKMDL^ can
also be verified with AMOS's VERIFY if the /^AMOS^ switch is used. All
comments will be excluded from the directory listing with this switch.
^MAKMDL^ will display, each file as it is processed and display the hash
total and version number (if one exists), unless the /^NODISPLAY^ switch is
used.
^Output filespec^ Optional name of file that filenames will be output to.
Defaults to ^MDLLST.DIR^. Extension defaults to ^.DIR^ if
filename is given with no file extension.
^Input filespec^ Name of file or files to create a ^M^aster ^D^irectory
^L^isting from. Input file specifications can be
^wildcarded^. Defaults to ^*^.^*^ if no input file
specification is given.
/^HELP^ or ^?^ Displays the switch options and if a ^.HLP^ file exists in
the same ^PPN^ or in the ^HLP:^ account, the user will be
prompted to display the additional help information.
/^QUERY^ Will query user for files to include into listing.
/^AMOS^ Creates an output that is the same as the output file
created with ^DIR/V/H/D^. Comments and date/time stamps
will not be included in the output file.
/^KILL^ Will ^delete^ the output file if it already exists.
/^DISPLAY^ Will display each file, hash and/or version number as
it is processed. ^/NODISPLAY^ will silence all output to
terminal.
/^WAIT^ Will wait for a file locked by LOKSER to become unlocked
before attempting to process. If the ^NO^WAIT switch is
set and a file is locked by LOKSER, ^MAKMDL^ will alert
the user and bypass including this file. The output file
will contain the message "file in use - Bypassed".
^VERDIR^ and AMOS's VERIFY will both process this listing.
/^NO^switch ^MAKMDL^ uses CMDLIN.SYS for wildcarding. Using the prefix
^NO^, with any switch, will negate the action of the
specified switch.
^MAKMDL^ will separate, with a comment character, the different PPN's
encountered while creating a directory listing and the files on a command
line that are separated by commas. Example:
^MAKMDL MDLLST.DIR=MAKMDL.*[],VERDIR.*[]^
The output file will look like:
^;*; MDL created on Monday, May 27, 1991 at 09:47:48 AM by James A. Jarboe I V^
^;*; On Educational Video Network, Inc. AMOS/L Version 1.3D(165)-3^
^;^
^WRK0:MAKMDL.LIT[001,004] 1.0(105) 366-370-231-524^
^;^
^WRK0:MAKMDL.HLP[007,001] 358-087-234-766^
^WRK0:MAKMDL.T[007,001] 589-789-324-110^
^;^
^WRK0:VERDIR.LIT[001,004] 1.1(115) 450-061-274-006^
^;^
^WRK0:VERDIR.HLP[007,001] 660-124-244-874^
^WRK0:VERDIR.T[007,001] 226-665-568-774^
^;*; MDL created on Monday, May 27, 1991 at 09:55:48 AM by James A. Jarboe I V^
^;*; On Educational Video Network, Inc. AMOS/L Version 1.3D(165)-3^
^;^
^WRK0:MAKMDL.LIT[001,004] 1.0(105) 366-370-231-524^
^WRK0:VERDIR.LIT[001,004] 1.1(115) 450-061-274-006^
^;^
^WRK0:MAKMDL.HLP[007,001] 358-087-234-766^
^WRK0:MAKMDL.T[007,001] 589-789-324-110^
^WRK0:VERDIR.HLP[007,001] 660-124-244-874^
^WRK0:VERDIR.T[007,001] 226-665-568-774^
^o^ Output file defaults to ^MDLLST.DIR^ if ^=^ is used with no output file
specification.
^o^ Output file defaults to ^.DIR^ file extension.
^o^ Can create ^MDL^'s of multiple directory listings at one time as input
filespec can contain wildcards or multiple directory specifications.
^o^ Can create directory listings across ^Networks^.
^o^ Terminal output display is pretty.
^o^ Output file will always default to include time and date stamps, name
of user who created the output file, (if user name is set) current
system and version number.