Shut Down from ICON on desk.

  • Thread starter Thread starter TonySper
  • Start date Start date
T

TonySper

When I was using XP Home Edition I used
%windir%\system32\shutdown.exe -s -t 00 in the TARGET and %windir% in
the start in.
Worked fine.
Tried this in XP PRO and nothing happens. DOes anyone have information
on how to shutdown XP Pro from an icon on the desktop??
TonySper
 
Mon, 28 Nov 2005 17:16:41 -0500 from TonySper
When I was using XP Home Edition I used
%windir%\system32\shutdown.exe -s -t 00 in the TARGET and %windir% in
the start in.
Worked fine.
Tried this in XP PRO and nothing happens. DOes anyone have information
on how to shutdown XP Pro from an icon on the desktop??

Do you mean, literally, _nothing_ happened? Was there no sort of
error message?

Open a command line and type
%windir%\system32\shutdown /?
to make sure the command is available and to check the correct form
of arguments. Yours look right, but maybe I'm missing something.
 
I will have to get to the office tomorrow to try it out as I only have
XP Home here.
I used explorer and went to C:\windows\system32\ and double clicked
shutdown.exe and I got a quick black DOS window but could not read
anything on it.

TonySper

Mon, 28 Nov 2005 17:16:41 -0500 from TonySper
When I was using XP Home Edition I used
%windir%\system32\shutdown.exe -s -t 00 in the TARGET and %windir%
in
the start in.
Worked fine.
Tried this in XP PRO and nothing happens. DOes anyone have
information
on how to shutdown XP Pro from an icon on the desktop??

Do you mean, literally, _nothing_ happened? Was there no sort of
error message?

Open a command line and type
%windir%\system32\shutdown /?
to make sure the command is available and to check the correct form
of arguments. Yours look right, but maybe I'm missing something.
 
Type just a bit further in the start in line and add \system32\

Usually all you need is
c:\windows\system32\shutdown.exe -s -t 00 (to shutdown)
Also
c:\windows\system32\shutdown.exe -r -t 00 (to reboot)
 
I have both of these on my XP Pro Desktop. I use SHUTDOWN everyday and
REBOOT almost as often.

What happens when you...
Right click the SHUTDOWN shortcut | Properties | Shortcut tab | Find Target
button

Does %windir%\System32 open with shutdown.exe highlighted?

Shutdown & Reboot Shortcuts

Desktop Shutdown Shortcut
Right click the desktop | New | Shortcut | Create Shortcut Wizard opens |
Type or paste: %windir%\System32\shutdown.exe -s -t 00 |
Next | Type name like: SHUTDOWN | Finish | Right click the new shortcut |
Make sure Start in has: %windir%

Desktop Reboot Shortcut
Right click the desktop | New | Shortcut | Create Shortcut Wizard opens |
Type or paste: %windir%\System32\shutdown.exe -r -t 00 |
Next | Type name like: REBOOT | Finish | Right click the new shortcut |
Make sure Start in has: %windir%

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Mon, 28 Nov 2005 18:55:52 -0500 from TonySper
I used explorer and went to C:\windows\system32\ and double clicked
shutdown.exe and I got a quick black DOS window but could not read
anything on it.

It's a command-line program; naturally if you want to read its output
you need to execute it from the command line. :-)
 
It was my error. I left out the \ between the %WINDIR% and the
system32. I just typed it wrong. it does work as you all have said.
Eyes are getting old. Have to change the display setting back to 800 x
600 so I can see again.
TonySper

I have both of these on my XP Pro Desktop. I use SHUTDOWN everyday
and
REBOOT almost as often.

What happens when you...
Right click the SHUTDOWN shortcut | Properties | Shortcut tab | Find
Target
button

Does %windir%\System32 open with shutdown.exe highlighted?

Shutdown & Reboot Shortcuts

Desktop Shutdown Shortcut
Right click the desktop | New | Shortcut | Create Shortcut Wizard
opens |
Type or paste: %windir%\System32\shutdown.exe -s -t 00 |
Next | Type name like: SHUTDOWN | Finish | Right click the new
shortcut |
Make sure Start in has: %windir%

Desktop Reboot Shortcut
Right click the desktop | New | Shortcut | Create Shortcut Wizard
opens |
Type or paste: %windir%\System32\shutdown.exe -r -t 00 |
Next | Type name like: REBOOT | Finish | Right click the new shortcut
|
Make sure Start in has: %windir%

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Glad you got it worked out. :-)

I *never* type when I can copy and paste. Of course you can miss part of
something when you copy, but a lot less error prone than my typing.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top