Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

XP Shutdown Shortcut

Nov 30, 2003 12:36AM PST

Found this shutdown shortcut on PC Magazine, got the shortcut to work but the default timer is set at 30 seconds. The second part gives directions to set timer for shutdown, but I've tried everway and cannot get it to work. Maybe you cannot change default timer? If anybody can figure it let me know. Thanks. Ronnie


http://www.pcmag.com/article2/0,4149,807899,00.asp

Discussion is locked

- Collapse -
Re:XP Shutdown Shortcut. Copy/paste your run command here.
Nov 30, 2003 1:31AM PST

On a single line, copy and paste in your reply what you put in your run command of your shortcut for others to comment on.

Bob

- Collapse -
Re:Re:XP Shutdown Shortcut. Copy/paste your run command here.
Nov 30, 2003 2:26AM PST

Robert: After the -s I tried -t-10 with and without space and with and without hyphen, couldn't get timer to change per the article. Tried suggestion from fjb and that wouldn't work either, got message The file shortcut.exe-f-s-t cannot be found, I did have the 00 behind the t and still wont work. Any other ideas?
Ronnie


C:\WINDOWS\system32\shutdown.exe -s

- Collapse -
Re:Re:Re:XP Shutdown Shortcut. Copy/paste your run command here.
Nov 30, 2003 7:18AM PST
"After the -s I tried -t-10 with and without space and with and without hyphen, couldn't get timer to change per the article."

Try -t:10
- Collapse -
Re:XP Shutdown Shortcut
Nov 30, 2003 2:00AM PST

right click an open area on the desktop and choose New Shortcut. put this in the open space

Shortcut.exe-f-s-t 00 then rename it.

- Collapse -
Re:Re:XP Shutdown Shortcut
Nov 30, 2003 4:58AM PST

fjb: Finally got it, must have been doing something wrong first time, works good, thanks. Ronnie

- Collapse -
Re:something doesn't click here
Nov 30, 2003 5:20AM PST

if you typed in as fjb said, you get an error message?

so what DID you type in that it now works?

- Collapse -
Re:Re:something doesn't click here
Nov 30, 2003 8:05AM PST

jonah: Right click desktop/new/shortcut, type Shutdown -s -t 01 in the command box, then next and I just left the name shortcut there and thats what I got to work, it looks like this in properties in the target window. Notice spaces between switches. Ronnie

%windir%\System32\Shutdown.exe -s -t 01

- Collapse -
Re:Re:Re:something doesn't click here
Dec 2, 2003 10:43AM PST

You can replace the s with an r to get a restart instead of a shutdown. I noticed that there was a -f in the original post was that a typo? I have not seen that before.

- Collapse -
Re:Re:Re:Re:something doesn't click here
Dec 2, 2003 11:24PM PST

You do not need the -f-. I suppose you could make 2 shortcuts one for shutdown, one for restart. I like the way it shuts down, takes just seconds. Ronnie