Starting with V0.80, XFolder contains a little program in the `BIN` subdirectory of the XFolder installation directory to initiate the eXtended Shutdown from the command line. This program is called `XSHUTDWN.EXE`.

Please note that this program alone is not capable of shutting down your system. All it does is to tell XFolder that and how shutdown should be performed. As a result, it will only function if:

- XFolder V0.80 or greater is installed;
- the WPS is up and running
- and no other errors occur. ;-)

On the other hand, you can put XSHUTDWN.EXE in any directory you like, for example some directory along your PATH, to be able to access XShutdown from any command line. XSHUTDWN.EXE does not require the XFolder DLLs or any other XFolder resource, because it contacts XFolder via inter-process communication.

XSHUTDWN.EXE overrides most of the settings you have specified for XShutdown. If you simply call it without parameters, certain default values will be used, no matter what your WPS settings are for XShutdown.

However, you can specify something different on the command line (these switches will not affect your WPS settings for XShutdown, but only one execution of it):

`-r`
  will cause XShutdown to reboot your computer, using the built-in reboot function. The default is not to reboot.
`-R <cmd>`
  will cause XShutdown to reboot your computer using the user-defined reboot action <cmd>.
`-v`
  will auto-close VIO windows. Default is not to close them.
`-a`
  will show an animation when XShutdown is done. Default is not to show the animation.
`-f`
  will show no confirmation window. Default is to have XShutdown confirmed.
`-l` (new with V0.83)
  will turn on shutdown logging in the `XSHUTDWN.LOG` file.
`-w` (new with V0.84)
  will do a WPS restart instead of a "real" shutdown. This can be used in conjunction with -f.
`-W` (new with V0.84)
  will also do a WPS restart instead of a "real" shutdown, but also close all open windows and reuse the startup folder after the WPS restart. This can be used in conjunction with -f and -v.