You can tell it how many seconds in advance or give it the time (24-hours style).
Syntax is:
Quote
1. All the parameters are optional.
2. If you passed both the parameters /Config and /Exec, the config window will show.
3. If you don't specify any parameters, the config window is shown.
4. The /Opt parameter can have any of the following (case insensitive): shutdown/logoff/reboot/hibernate
5. The /Time parameter can have: the time in seconds before performing the action or the time with colon (24-hours style)
NOTE: You don't have to use leading zeroos.
6. If you only specify /Exec, the time and option is read from the ini file.
If no settings have been specified, the utility will shutdown the computer in 15 seconds.
7. I can guarantee that the Cancel button works :)
Examples:
1. Shutdown.exe
2. Shutdown.exe /Exec
3. Shutdown.exe /Config
4. Shutdown.exe /Exec /Opt=Reboot
5. Shutdown.exe /Exec /Opt=Shutdown
6. Shutdown.exe /Exec /Time=15
7. Shutdown.exe /Exec /Time=12:15
8. Shutdown.exe /Exec /Opt=Shutdown /Time=15
9. Shutdown.exe /Exec /Opt=Reboot /Time=12:15
Screenshot:
Download:
Shutdown.zip (116.03K)
Number of downloads: 235
This post has been edited by SlimShady: 03 December 2004 - 11:20 AM

Sign In
Register
Help


MultiQuote