|
|
|
NirCmd Command Reference - exitwin
|
exitwin [shutdown type] {additional option}
This command terminates the current session of Windows.
The [shutdown type] parameter can be one of the following values:
- logoff: Shut down all running processes, log off the current user, and display
the log on dialog to allow another user to log into the system.
- reboot: Shut down the entire system, and then reboot.
- poweroff: Shut down the entire system, and then turn off the power. (Only for systems that support this feature !)
- shutdown: Simply shut down the entire system, without reboot and without turning the power off.
You can also use one of the following additional options:
- force: Forces all applications to terminate immediately.
Using this option can caused the current running application to lose data.
Use it only in extreme cases !
- forceifhung: Forces applications to terminate if they are not responding.
This option is only available in Windows 2000/XP.
Examples:
exitwin reboot
exitwin poweroff force
exitwin logoff forceifhung
Other commands:
NirCmd Web Page
Download NirCmd
NirSoft Web Site
|
|
|