User Guide

128 Other Installation Options
Other Installation Options
103-000143-001
August 30, 2001
Novell Confidential
Manual 99a38 July 17, 2001
CheckFile
Syntax
CheckFile <var name>, <file spec>, <vol name>, <description>
Description
CheckFile checks for the existence of <file spec> at a path determined by the
value of <var name>. If the path is a floppy, and <vol name> is non-null (not
''), the user will be prompted for disk <description> if it is not already in the
drive.
If the file is found, the value of variable NWSTATUS will be zero; otherwise
it will be non-zero.
Example
CheckFile NWSRC, file1.dat, '', ''
GotoIfNEqual '%{NWSTATUS}', 0, FileNotFound
File found
.
.
Label FileNotFound
In this example, a check is made for a file (FILE1.DAT). If the file is found at
the path determined by NWSRC, execution continues on the next line. If the
file is not found, control branches to label FileNotFound.
Config
Syntax
Config <flag>
Description
Config creates a configuration file with available default information from the
installation. If <flag> is 1, AUTOEXEC.NCF is created on SYS:SYSTEM; if
0, STARTUP.NCF is created in the server boot path.
Example
Config 1
This command creates AUTOEXEC.NCF, with server name, internal net
address, configured LAN driver load and bind commands, directory service