ShutDown v1.56


Disclaimer:
	No liability and all that stuff.


License:
	You are hereby granted a license to use and evaluate ShutDown
	for thirty (30) days.  After this period, please register the
	software or cease using it.  To register, send $10 to the address
	shown below.  The first version of ShutDown was freeware.  People
	had all sorts of neat requests, but I really did not feel like
	working for free.  Please support registration.  Send $10 to:
		Chris Bluethman
		2302 N. Star Drive
		Stillwater, OK  74075

	CompuServe members!  You can register online, Type GO SWREG.
	The Registration ID is 8995.


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, I put it on my 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.


Command Line Parameters:
	/RESTART
		Restart Windows, or "quick" reboot.  Same as holding
		down Shift when using the regular Windows 95 shutdown.
		NOTE: This option has changed from previous versions of
		ShutDown.  Previous versions had /RESTART and
		/REBOOT doing the same thing, completely rebooting.
		Now /RESTART under Windows NT does a log off
		(/LOGOFF).  /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.

	Specifying nothing on the command line will shut down to a
	power-off state.  Parameters can be combined for different
	effects.  See the Examples below.


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.


E-mail:
	Send comments/suggestions to:
		Chris Bluethman
		Internet: cdb@excalibur.net
		CompuServe: 72347,3306


Trademarks/Acknowledgments
	Microsoft Office, Windows 95, and Windows NT are products
	of Microsoft Corporation.
