Read_Var_File
SetDir
148 Other Installation Options
This command is the counterpart to the ProductRecord command. See
"ProductRecord" on page 123
Example
ReadProductRecord MYPROD, 0, version, ccode
The command will search the products database and return the value for
<version> for product 'MYPROD'.
Syntax
Read_Var_File <path>, <filename>, <completion code>
Description
Read_Var_File will read the contents of the filename and create variables for
script processing. The file is an ASCII formatted file with the content as
follows:
"Variable1=true"
"Variable2=false"
"Variable3=Servername"
Example
Read_Var_File "sys:system", "varfile.txt", ccode
NOTE:
Ccode will return the file open status. 0 is success, anything else is an
error. If the variable to the left contains any spaces, leading or trailing, the spaces
will become part of the variable name and must be included with the variable when
referencing it.
Syntax
SetDir <var name>, <relative dir>, <vol name>, <vol descr>,
<attributes>, <0|1>, <rights>
Description
SetDir creates directories (if they do not already exist), according to the <var
name> obtained from
null. <attributes> are the attributes to use when creating the directory; 0
for more information on record types.
GetPath (page
141). The <relative dir> value can be
Need help?
Do you have a question about the NETWARE 6-DOCUMENTATION and is the answer not in the manual?