Novell Home

NAL Command-line Options (ZEN 2 and ZfD3)

Novell Cool Solutions: Feature
By Matt Brooks

Digg This - Slashdot This

Posted: 16 Aug 2000
 

Current version: ZENworks for Desktops 3

ZENworks 2 introduced a number of new command-line options that you can use to make things run the way you want them to. Here they all are, freshly updated with a couple of new switches that are only in ZENworks for Desktops 3 (ZfD3). You may want to print this out and tape it somewhere prominent. You'll probably be using it a lot...

Command-line Options

/TIMEnnnn -- Used to specify the number of seconds to wait before continuing on to run the appropriate EXE, NALWIN32.EXE or NALDESK.EXE. nnnn is the number of seconds to wait. Default is 3 seconds.

/NBC -- No boot choice. Specifies to not give the user a Yes/No choice when prompting the user to restart their workstation to update files in use. This only applies to file updates done by NALSTART.

/NOWS -- No workstation. Specifies to not register the workstation helper process and remove the registration if it exists.

/I -- Install only. Instructs NALSTART to update files as needed only. NALSTART will not run NALWIN32.EXE or NALDESK.EXE.

/NODIALUP -- Instructs NALSTART to exit if a dial-up connection is present. NALSTART will not update any files nor run any other EXE if a dial-up connection is present. Useful for exiting early when using a dial-up connection.

/NOUPDATE -- Instructs NALSTART to not update any files on the workstation. NALWIN32.EXE or NALDESK.EXE will be run from the current directory, usually SYS:PUBLIC. Use this option with caution. ZENAPPWS.DLL will not be copied to the workstation and NALSTART will still register the workstation helper to be loaded from the client directory unless /NOWS is specified.

NALEXPLD.EXE Specific Options

/NS -- Instructs NALDESK to not display a splash screen.

NAL.EXE Specific Options

/? - Displays a brief help screen. NEW in ZfD3

: (colon) -- Instructs NALWIN32 to not display a splash screen.

/A -- Instructs NALWIN32 to run the application object specified. The format is as follows: /A=<DS object name> or /A=<tree name>;<DS object name>. DS object name is the full object name of the application to run. Tree name is the name of the tree the object is in. The default tree is assume if a tree name is not specified. If NALWIN32 is not currently loaded it will be loaded and minimized.

/C -- Instructs NALWIN32 to use the text specified as the window caption. The format is as follows: /C="Custom Caption Here". The text specified may contain macros such as the user name "%Full Name%".

/H -- Instructs NALWIN32 to be hidden from view when loaded. If NALWIN32 is already loaded this option has no effect.

/L -- Instructs NALWIN32 to uninstall the application object specified. The format is as follows: /L=<DS object name> or /L=<tree name>;<DS object name>. DS object name is the full object name of the application to run. Tree name is the name of the tree the object is in. The default tree is assumed if a tree name is not specified. If NALWIN32 is not currently loaded it will be loaded and minimized. NEW in ZfD3

/MAX -- Instructs NALWIN32 to display its window maximized when first loaded. This setting ignores the window state from any previous run of NALWIN32. If NALWIN32 is already loaded this option has no effect.

/MIN -- Instructs NALWIN32 to display its window minimized when first loaded. This setting ignores the window state from any previous run of NALWIN32. If NALWIN32 is already loaded this option has no effect.

/NORM -- Instructs NALWIN32 to display its window normal (not minimized and not maximized) when first loaded. This setting ignores the window state from any previous run of NALWIN32. If NALWIN32 is already loaded this option has no effect.

/P -- Instructs NALWIN32 to use these parameters for the application being launched. Only effective when used with /A or /V. The format is as follows: /P="Parameters go here".

/S -- Instructs NALWIN32 to act as though it is the shell. It makes Exit the Application launcher turn into ?Shutdown Windows.' and gives the user the standard shutdown windows options.

/U -- Instructs NALWIN32 to automatically unload once all currently running applications have finished running. If used as /U!, NALWIN32 will unload immediately.

/V -- Instructs NALWIN32 to verify and run the application object specified. The format is as follows: /V=<DS object name> or /V=<tree name>;<DS object name>. DS object name is the full object name of the application to run. Tree name is the name of the tree the object is in. The default tree is assume if a tree name is not specified. If NALWIN32 is not currently loaded it will be loaded and minimized.

Note on NALINIT.INI: Two NALINIT.INI options are supported, they are SkipLaunch and SkipUpdate. In the [Init] section of NALINIT.INI you may specify SkipUpdate=1 which has the same effect as /NOUPDATE (see above). If you specify SkipLaunch=1, it has the same effect as /I (see above).

Q&A Relevant to this Article

Wayne wrote: I've read how to disable dial-up auto detection, but that is not really what I'm looking for. Basically, if a dial-up connection is detected, NAL will prompt the user whether or not it should run. Is there a way to simply not execute NAL on a dial-up connection? In other words, not prompt the user--simply don't run?

Matt: ZEN 2 (NAL v3) introduced a new command-line option /NODIALUP. It checks very early in the load of NAL and will exit if dial-up connections are present.

About the Author

Matt Brooks is one of the original founding fathers of NAL (despite his boyish good looks), and watches over it with tender care. He provides a steady stream of outstanding practical information like this to Cool Solutions, and stands by ready to answer questions about this article, as they occur to you. The ZfD3 additions are courtesy of Jerry Chadwick, senior NAL engineer.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell