EditNCF_ADDLINE
138 Other Installation Options
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
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.
Need help?
Do you have a question about the NETWARE 6-DOCUMENTATION and is the answer not in the manual?