home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 Secrets (4th Edition) / Windows95Secrets4thEdition.iso / utility / desktop / shutdown / shutdown.txt < prev   
Encoding:
Text File  |  1995-12-20  |  3.8 KB  |  114 lines

  1. ShutDown v1.50
  2.  
  3.  
  4. Disclaimer:
  5.     No liability and all that stuff.
  6.  
  7.  
  8. License/Beg Clause:
  9.     ShutDown is shareware.  Upload it everywhere!
  10.     If you find this program useful, the author would appreciate
  11.     a contribution of $10.00.  The first version of ShutDown was
  12.     freeware.  People had all sorts of neat requests, but I really
  13.     did not feel like working for free.  Now that it is shareware,
  14.     I hope I will have some incentive to implement enhancements and
  15.     come up with other nifty programs.  My address is:
  16.         Chris Bluethman
  17.         2302 N. Star Drive
  18.         Stillwater, OK  74075
  19.  
  20.  
  21. Description:
  22.     Why click on Start to shutdown your computer in Windows 95?
  23.     In Windows NT, why go to the Program Manager, click on
  24.     File, Shutdown, and then shutdown?  ShutDown makes it easier
  25.     by providing the same shutdown service NT's Program Manager
  26.     and 95's Start button does.  Make it a shortcut on the
  27.     95 desktop.  In Windows NT, I put it on my Microsoft Office
  28.     Toolbar.  You can also run ShutDown from the command line.
  29.     Great for shutting down the computer from a batch file or a
  30.     scheduling program.  The standard shutdown procedure is used,
  31.     so don't worry about losing data during the shutdown.  NT or
  32.     95 will ask every running application if they want to quit or
  33.     not.  ShutDown also supports timed shutdowns and running of a
  34.     batch file or program before shutting down.
  35.  
  36.  
  37. Command Line Parameters:
  38.     /RESTART
  39.         Will shutdown and restart the computer.
  40.     /REBOOT
  41.         Same as /RESTART.
  42.     /LOGOFF
  43.         Close all programs and log current user off.
  44.     /FORCE
  45.         Shutdown running applications whether they want to
  46.         quit or not.  WARNING: If you use this switch and an
  47.         application has unsaved data, the data will be lost.
  48.     /MSDOS
  49.         Restart the computer in MS-DOS mode.  This feature is
  50.         only available in Windows 95.
  51.     /HELP
  52.         Display this same information.
  53.     /T:n
  54.         Where n is the number of minutes to countdown before
  55.         shutting down.
  56.     /F:[path]filename.ext [params]
  57.         Run the named file just before shutting down.
  58.         [path] is optional.  [params] are parameters that
  59.         will be passed to filename.ext.  NOTE: If you use the
  60.         /F: switch, make it the LAST parameter on the command
  61.         line.  In this way, the parameters will be interpreted
  62.         correctly.
  63.  
  64.     Specifying nothing on the command line will shut down to a
  65.     power-off state.  Parameters can be combined for different
  66.     effects.  See the Examples below.
  67.  
  68.  
  69. Tips/Tricks:
  70.     Running ShutDown without any command line parameters will
  71.     just shut down to a power-off state.  If you want a different
  72.     type of shutdown, like a logoff or a complete reboot, you can add
  73.     the command line parameters discussed above.  In Windows 95,
  74.     the best thing to do is to create a shortcut on your desktop.
  75.     To change the command line parameters, right click to the
  76.     Properties for the shortcut.  Then click the Shortcut tab.
  77.     Now you can add /REBOOT or /LOGOFF to the end of the Target
  78.     line.
  79.  
  80.  
  81. Examples:
  82.     ShutDown /LOGOFF /T:3
  83.         Wait three minutes, close all applications,
  84.         and log off the current user.
  85.     
  86.     ShutDown /MSDOS
  87.         Close all running programs and restart in MS-DOS mode.
  88.         Type "exit" to get back to Windows 95.
  89.  
  90.     ShutDown /RESTART /T:15 /F:C:\CLEAN.BAT
  91.         Wait fifteen minutes, run the batch file called
  92.         CLEAN.BAT, then restart the computer.  Note that /F:
  93.         is the last parameter.
  94.  
  95.     ShutDown /FORCE /F:NOTEPAD.EXE SIGNOFF.TXT
  96.         Run Notepad, edit a file called SIGNOFF.TXT, and then
  97.         do a forced shutdown.  All unsaved data will be lost.
  98.  
  99.     ShutDown /F:"D:\Things to do at end of session.bat"
  100.         Run the "Things to do at end of session.bat" file and
  101.         then shutdown.
  102.  
  103.  
  104. E-mail:
  105.     Send comments/suggestions to:
  106.         Chris Bluethman
  107.         Internet: 72347.3306@compuserve.com
  108.         CompuServe: 72347,3306
  109.  
  110.  
  111. Trademarks/Acknowledgments
  112.     Microsoft Office, Windows 95, and Windows NT are products
  113.     of Microsoft Corporation.
  114.