The following is directions to make an icon that will restart your computer. It will work with both XP Home and Pro. Try it out, and let me know if it works for you.
Copy the following code:
%windir%\System32\SHUTDOWN.exe -r -t 01
Right-click the desktop and select New -> shortcut. Paste the code where it says location of item, and click next. Name it Click me to restart, and click next. Right-click the shortcut, and select properties. Click Shortcut tab, and Change Icon button. When you find the one you want, click OK, and Apply. When you are ready to restart your computer, click the shortcut. It will shutdown all of your other applications and start your computer back up.
Edited: If you want to shut the computer completely down, and manually turn the computer back on later, then you need to change the code. If you replace the portion "-r" to "-s", then it will shut the computer down, without bringing it back up.
Also, to those who are curious, the 01 is a countdown timer that you can adjust in seconds. As a gag, I have put a large number on it, to make someone think that their computer is possessed or something.
Edited by JEservices, 26 October 2004 - 03:48 PM.
We are all curious like a cat. We wonder, we ask, we learn.
Please post back when a suggestion works, so that others may learn.