File close, File copy, File delete – Xerox -05W User Manual
Page 236: File open
![background image](/manuals/227049/236/background.png)
12-32
Creating A Script File
FILE CLOSE
Syntax: FILE CLOSE
Closes the file with the specified handle where
variable assigned by the file open command.
The Error Numbers section lists the possible error numbers for this command.
FILE COPY
Syntax: FILE COPY
This will copy the file specified by the
specified destination, where the
path name, just a filename, or just a path. For example:
file copy "myfile.tmp" "/distrib/source/work/newfile.tmp"
will create the file newfile.tmp in the directory /distrib/source/work. The Error
Numbers section lists the possible error numbers for this command.
FILE DELETE
Syntax: FILE DELETE
Deletes the file specified by the string or string variable
Error Numbers appendix for a list of possible error numbers for this command.
FILE OPEN
Syntax: FILE OPEN
This command is used to open a specified file, assign an integer to identify the file,
and specify whether the file is to be created, read, written to, or any combination of
these, where
is a previously defined integer variable (see var) which will be used to
store an integer which will identify the file for future commands. (This
will be referred to as the
tions.)
is a string or string variable containing the name of the file on which
operations will be performed. This can be a file which already exists or
a new file which will be created if C is specified in the following
which define the type of operation that is to be performed on the file: R