User Guide
138 Other Installation Options
Other Installation Options
103-000143-001
August 30, 2001
Novell Confidential
Manual 99a38 July 17, 2001
Example
GetPath startup, 1, 'C:\\NWSERVER', ''
EditNCF_KEYSTRING ''
EditNCF_KEYSTRING 'PK411.NLM'
EditNCF startup, 'startup.ncf', 'bak', ccode
The contents of C:\NWSERVER\STARTUP.NCF will be searched for a line
containing PK411.NLM and will be commented out by the EditNCF
command. Ccode will contain the following:
0 - Success
1 - Duplicate Extension
2 - Open Error
3 - Read Error
4 - Write Error
5 - NCF to Backup Extension Error
6 - Tmp to NCF Error
EditNCF_ADDLINE
Syntax
EditNCF_ADDLINE <LineToBeAdded>
Description
EditNCF_ADDLINE adds a line of text to the list of lines to be added at the
top of the file being edited with EditNCF.
Example
EditNCF_ADDLINE ''
EditNCF_ADDLINE 'LOAD PK411.NLM'
EditNCF startup, 'startup.ncf', 'bak', ccode
The first line will clear the ADDLINE list. The second line will add the string
“LOAD PK411.NLM” to the top of the STARTUP.NCF file.