Novell is now a part of Micro Focus

Rebooting Windows 95 from a Desktop Icon

Articles and Tips: tip

01 Apr 1998


In the February 1998 NetNotes, we asked our readers if anyone knew of a way to create a quick reboot icon on Windows 95 workstations. Our thanks go to two alert readers, Bob Clarke and Mark Kushinsky, who both passed along the same solution. According to Bob, he got the answer from the August 1996 issue of the Cobb Group publication "Inside Microsoft Windows 95" on page 5.

  1. With a text editor, create a batch file named REBOOT.BAT (or similar name of your choice) that contains one line:

    @exit

  2. Save this file in the C:\WINDOWS\COMMAND directory.

  3. From Windows Explorer, create a shortcut for the batch file on the desktop. To do this, right-click on the desktop, then select New | Shortcut. When prompted, type the location and name of the batch file you created. Click Next to continue. Type in a name and click Next, then select an icon for the shortcut, and click Finish.

  4. Right-click on the new shortcut icon and select Properties. Select the Program tab and make sure the "Close on exit" box is checked.

  5. Click the Advanced button and check the "MS-DOS mode" box. Deselect the "Warn before entering MS-DOS mode" box. Leave the "Use current MS-DOS configuration" option selected.

  6. Click OK and OK again to save your changes.

That will do it! Just double-click on the icon and the Windows 95 workstation will restart. (Note that the @exit cannot be run from the command line.)

Thanks, Bob and Mark, for your responses. I tried it and it works just fine!

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Micro Focus