Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple NCF question

Status
Not open for further replies.

jdavis37

MIS
Jul 9, 2002
233
US
How can I create a .ncf file to run a command?

would I just open edit test.ncf
**enter my run command**
save as test.ncf

thanks
 
Hi,

You would need a way of executing it. Either manually, throught another NCF like the Autoexec.ncf or with some other utility.

But, yes that is how you would create it.

Lou
 
Hi

You can add any Netware commands you like to the NCF.
I have seen people use an NCF to unload NLM's prior to a shutdown etc.ie Shutdown.ncf could look like this...

; This NCF file unload's NLM's before rebooting the System
:
Unload xyz.nlm
Restart Server

Hope this help


Regards

David
 
An NCF file in NetWare is just like a BAT file in DOS. It runs from the console prompt, and just goes line by line till it's done. Easy deal, piece of cake.

To run it you just type in the name of the NCF file at the server command prompt. As long as the NCF file is in the search path, it will run. Most people put custom NCF files into SYS:SYSTEM because they are generally for system tasks, like shutting down NLM's before rebooting (as mentioned above).



Marvin Huffaker MCNE, CNE
Marvin Huffaker Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top