NWSMExecuteNCFFile
Executes a selected NCF file on a specified server
#include <nwsm.h>
or
#include <nwcalls.h>
N_EXTERN_LIBRARY NWCCODE NWSMExecuteNCFFile (
NWCONN_HANDLE connHandle,
const nstr8 N_FAR *NCFFileName);
uses calwin32
Function NWSMExecuteNCFFile
(connHandle : NWCONN_HANDLE;
NCFFileName : pnstr8
) : NWCCODE;
These are common return values; see Return Values (NDK: Connection, Message, and NCP Extensions) for more information.
You must be logged into connHandle, be permanently authenticated, and have console operator rights at the minimum to call NWSMExecuteNCFFile.
fileName may include a volume and path in the following format:
{VOLUME NAME:}{PATH\...|file name}