Xerox -07W & -11W Printer User Manual


 
12-29
Creating A Script File
<gname> is a previously defined string or integer variable which will store the
group name (UNIX only).
Note that if you require a value which follows one or more that are not required, you
will still need to supply variables for them. For example, if you only wanted the time
that the file was last modified, you would need to specify a variable for <size> and
<mode> as well as <modtime>.
Note that on a UNIX system the first entry is always ".". This command can be
followed by one or more dirnext commands to work through the directory listing.
If the command is invalid then the variable will be set to "" (zero length).
DIRNEXT
Syntax: DIRNEXT <filename> [<size> <mode> <modtime> <uname>
<gname>]
This will get the next entry in the working directory following a dirfirst command
and place it in the previously defined string variables, where
<filename> is a previously defined string variable (see var) which will store the
name of the file. This is the only variable that must be specified, the
others are optional.
<size> is a previously defined string or integer variable which will store the
size of the file.
<mode> is a previously defined string variable which will store the mode.
<modtime> is a previously defined string variable which will store the time of the
last modification.
<uname> is a previously defined string or integer variable which will store the
user name (UNIX only).
<gname> is a previously defined string or integer variable which will store the
group name (UNIX only).
Note that if you require a value which follows one or more that are not required, you
will still need to supply variables for them. For example, if you only wanted the time
that the file was last modified, you would need to specify a variable for <size> and
<mode> as well as <modtime>.
This command can be followed by more dirnext commands to work through the
directory listing.
If the command is invalid or there are no more directory entries then the variable will
be set to "" (zero length).