<WP_DESKTOP>
.
Note that since the desktop is a folder, it understands all the setup strings for XFolder, WPFolder, and WPObject as well.
XSHUTDOWNNOW=settings
Note 1: This setup string changes no settings,
but is a rather a command to be performed immediately.
The below settings
will only affect this one system shutdown.
See "Startup and shutdown" for details.
Note 2: If you invoke this setup string programatically (either through
WinSetObjectData
or SysSetObjectData
) and confirmations
are enabled, that function will not return until the confirmation dialog has
been dismissed.
settings
is a comma-separated list of XShutdown settings
or DEFAULT
. You can specify any combination of what's listed below.
In general, if one of the keywords below is not specified, XShutdown will use
what is specified on the "XShutdown" page in the desktop's settings notebook.
To override the preconfigured behavior after XShutdown has completed, use one of the following:
HALT
will only show the "It is now safe..." message and then
halt the system.
REBOOT
will do a standard reboot.
USERREBOOT(cmd)
will attempt to do a user-defined reboot
with the reboot action cmd
.
POWEROFF
will attempt an APM power-off, if this is supported on
the system.
RESTARTWPS
will not shut down the system, but only restart the
WPS.
FULLRESTARTWPS
will not shut down the system, but only restart the
WPS, but close all open sessions first and reuse the &xwp; startup folder at
the next WPS startup.
AUTOCLOSEVIO
or NOAUTOCLOSEVIO
.
To override the preconfigured setting for XSHUTDWN.LOG
,
use either LOG
or NOLOG
.
To override the preconfigured animation settings, use either
ANIMATE
or NOANIMATE
.
To override the preconfigured confirmation setting, use either
CONFIRM
or NOCONFIRM
. Note that if confirmations are on
(either because CONFIRM
was specified or because it was preconfigured
and not overridden), most of the settings specified with XSHUTDOWNNOW
will only cause the confirmation dialog to display different defaults.
If you do not want to override any settings, specify DEFAULT
.
Examples:
XSHUTDOWNNOW=DEFAULT
will start XShutdown with the current
settings.
XSHUTDOWNNOW=RESTARTWPS,NOCONFIRM,LOG
will restart the WPS now
without confirmation, but enable logging this one time.