WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

NetwareX Extender

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Issue NetWare Console Commands


Question:

Is there a wb way to issue commands to the netware console from a wb program running on xp or w2k/as, and get the console output back into the script?

the nw is either 6.0 or 6.5/sp1.1b and sp2.

I am running scripts that need to coordinate other commands i am running under w2k with cmds i issue on the nw console.

If no wb way, anyone know any utilities to do this?

Answer:

You need to have the Novell Client installed [not the Microsoft Client for NetWare Networks] to use the NetWareX extender. Assuming you have met that requirement, you can use nwSrvExecNCF() to cause a NCF file on the server to be executed. Since you can access the SYS: volume of a server, you can have your script write a NCF file with whatever console commands you want in it and then cause the server to execute it. You can also directly load/unload an NLM using the nwNLMMgr() function.

Synchronizing your script with what's happening on the server console isn't something that can be done directly by monitoring the console itself. If you can have an NCF file do all of the tasks and then run an NLM that writes a file or write output to a file that your script can then either detect the presence of the file or read the file's contents then you should be able to sync the processes.

What sorts of tasks are you doing that have to be executed on the server console? Maybe there's another way to achieve the results you are looking for.


Article ID:   W16540
File Created: 2005:02:18:12:21:22
Last Updated: 2005:02:18:12:21:22