Solstice NFS Client 3.2 User's Guide for Microsoft Windows 95 and Windows NT

Running the Script Interpreter

You can run the script interpreter to develop and debug new scripts. The sunwrun command invokes the script interpreter, which automatically runs the appropriate SNC scripts when the user logs in.

To run the command, type:

sunwrun.exe [-ripn] filename.snc

You can specify multiple file script file names on the command line. Each file name must end with the .snc extension. The interpreter will execute each file in order until a script exits with a non-zero exit code or all files are processed.

Available options include:

-r

Causes the script interpreter to reset the shared environment before interpreting the first file. 

-i

Causes the script interpreter to reset the shared environment after interpreting the last file. 

-p

Causes the script interpreter to execute only files from the location specified in the SNDRIVE variable.

-n

Causes the script interpreter to exit immediately after executing the last script file, rather than waiting the default 5 seconds provided to enable the user to view the output.