ShutDown v1.64 Description: Why click on Start to shutdown your computer in Windows 95? In Windows NT, why go to the Program Manager, click on File, Shutdown, and then shutdown? ShutDown makes it easier by providing the same shutdown service NT's Program Manager and 95's Start button does. Make it a shortcut on the 95 desktop. In Windows NT, it may be put on the Microsoft Office Toolbar. You can also run ShutDown from the command line. Great for shutting down the computer from a batch file or a scheduling program. The standard shutdown procedure is used, so don't worry about losing data during the shutdown. NT or 95 will ask every running application if they want to quit or not. ShutDown also supports timed shutdowns and running of a batch file or program before shutting down. License The licensing fee is $10 per license. Please read LICENSE.TXT for more information. CompuServe members can register online, GO SWREG, Reg ID # 8995. Command Line Parameters: /RESTART Restart Windows, or "quick" reboot. Same as holding down Shift when using the regular Windows 95 shutdown. /RESTART under Windows 95 does a restart without a reboot. /REBOOT Reboot the computer /LOGOFF Close all programs and log current user off. /FORCE Shutdown running applications whether they want to quit or not. WARNING: If you use this switch and an application has unsaved data, the data will be lost. /MSDOS Restart the computer in MS-DOS mode. This feature is only available in Windows 95. /HELP Display this same information. /T:n Where "n" is the amount of time to wait before shutting down. "n" can be expressed in minutes or an actual time. The presence of a second colon in the option will determine how "n" is interpreted. /T:15 means wait 15 minutes, /T:15:45 means to shut down at 3:45 PM. If "n" specifies a time, it must be in 24 hour format. Please see the examples for more information. /F:[path]filename.ext [params] Run the named file just before shutting down. [path] is optional. [params] are parameters that will be passed to filename.ext. NOTE: If you use the /F: switch, make it the LAST parameter on the command line. In this way, the parameters will be interpreted correctly. /POWEROFF Shut down the system and turn off the power. NOTE: The system must support the power-off feature. /NOLOGO Turns off the splash screen. /NOCANCEL Prevents user from canceling the shutdown. Takes Cancel button off the Timed ShutDown dialog box and disables the ESC key on splash screen. /DONOTHING This parameter does just that, nothing. This is helpful in some network situations where all users run ShutDown from some sort of central script. The admins and supervisors can have this parameter in their environment variable SHUTDOWN to bypass a time limit or a shutdown. Notes: If no parameters are specified, ShutDown will look for an environment variable called SHUTDOWN and use its value as parameters. If no parameters and no environment variable is found, ShutDown will shut down to a power-off state. Parameters can be combined for different effects. See the Examples below. Pressing ESC while the splash screen is up will cancel the shutdown. The splash screen is up for approximately 4 seconds. Tips/Tricks: Running ShutDown without any command line parameters will just shut down to a power-off state. If you want a different type of shutdown, like a logoff or a complete reboot, you can add the command line parameters discussed above. In Windows 95, the best thing to do is to create a shortcut on your desktop. To change the command line parameters, right click to the Properties for the shortcut. Then click the Shortcut tab. Now you can add /REBOOT or /LOGOFF to the end of the Target line. Examples: ShutDown /LOGOFF /T:3 Wait three minutes, close all applications, and log off the current user. ShutDown /T:19:00 Shut down the computer at 19:00 hours (7:00 PM). ShutDown /T:4:15 /RESTART Restart Windows at 04:15 hours (4:15 AM). Note that NT will log off while 95 will restart without reboot. ShutDown /MSDOS Close all running programs and restart in MS-DOS mode. Type "exit" to get back to Windows 95. ShutDown /RESTART /T:15 /F:C:\CLEAN.BAT Wait fifteen minutes, run the batch file called CLEAN.BAT, then restart Windows. Note that /F: is the last parameter. ShutDown /FORCE /F:NOTEPAD.EXE SIGNOFF.TXT Run Notepad, edit a file called SIGNOFF.TXT, and then do a forced shutdown. All unsaved data will be lost. ShutDown /F:"D:\Things to do at end of session.bat" Run the "Things to do at end of session.bat" file and then shutdown. Contact Information: Chris Bluethman 2302 N. Star Drive Stillwater, OK 74075 Email: cbluethman@bigfoot.com Trademarks/Acknowledgments Microsoft Office, Windows 95, and Windows NT are products of Microsoft Corporation.