Tech Support > Microsoft Windows > stand by from cmd
stand by from cmd
Posted by rodchar on October 9th, 2005


hey all,

is there a way to call Start/Shut Down/Stand by from the command line?

thanks,
rodchar

Posted by Anando [MS-MVP] on October 9th, 2005


Hello,

Type at the command prompt:

Shutdown: shutdown.exe -s -t xx
Restart: shutdown.exe -t -t xx

xx is the number of seconds before the event takes place.

--

Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp
http://www.mvps.org


Folder customizations
http://newdelhi.sancharnet.in/minku

Protect your PC!
http://www.microsoft.com/protect


"rodchar" <rodchar@discussions.microsoft.com> wrote in message
news:ABB6ADCB-ED3D-47CA-AF4C-BA1B3247A84E@microsoft.com...
> hey all,
>
> is there a way to call Start/Shut Down/Stand by from the command line?
>
> thanks,
> rodchar



Posted by Trax on October 9th, 2005


"rodchar" <rodchar@discussions.microsoft.com> wrote:

|>hey all,
|>
|>is there a way to call Start/Shut Down/Stand by from the command line?
|>

As mention'd SHUTDOWN type in shutdown /? for options.

I have a shortcut for the shutdown command and place it in my quick
launch bar - it's a one click shutdown/restart.

--
http://www.albinoblacksheep.com/flash/bunny.php

Posted by Ramesh, MS-MVP on October 10th, 2005


You may try this shutdown.exe utility
http://www.budja.com/shutdown/

From that page:
--------------------------------------------------------------------
Shutdown.exe is a simple command line utility that can:
Log Off the current user
Shutdown (Turn Off) the computer
Restart the computer
Hibernate the computer (note that hibernation has to be enabled!)
Put the computer into Stand By (Sleep)
--------------------------------------------------------------------

-or-

See if this information helps, from David Candy:
http://groups.google.co.in/groups?se...GP12.phx.gb l


From Torgeir Bakken:

<Quote>

The following command line tools supports suspend (sleep) as
well as hibernate:

PsShutdown
http://www.sysinternals.com/ntw2k/fr.../pstools.shtml

Wizmo
http://grc.com/wizmo/wizmo.htm

Budja shutdown:
http://www.budja.com/shutdown/

</Quote>

--
Ramesh, Microsoft MVP
Windows XP Shell/User

Windows XP Troubleshooting
http://www.winhelponline.com


"rodchar" <rodchar@discussions.microsoft.com> wrote in message
news:ABB6ADCB-ED3D-47CA-AF4C-BA1B3247A84E@microsoft.com...
> hey all,
>
> is there a way to call Start/Shut Down/Stand by from the command line?
>
> thanks,
> rodchar


Posted by Stan Brown on October 10th, 2005


On Sun, 9 Oct 2005 15:28:19 -0300 in
microsoft.public.windowsxp.general, Anando [MS-MVP] favored us
with...
> "rodchar" <rodchar@discussions.microsoft.com> wrote in message
> news:ABB6ADCB-ED3D-47CA-AF4C-BA1B3247A84E@microsoft.com...
> > is there a way to call Start/Shut Down/Stand by from the command line?


> Type at the command prompt:
>
> Shutdown: shutdown.exe -s -t xx
> Restart: shutdown.exe -t -t xx
>
> xx is the number of seconds before the event takes place.


According to the help ("shutdown /?"), the second one should be
shutdown -r -t xx
Also, the ".exe" isn't necessary AFAIK.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Posted by Stan Brown on October 10th, 2005


On Sun, 09 Oct 2005 12:44:43 -0700 in
microsoft.public.windowsxp.general, Trax favored us with...
> I have a shortcut for the shutdown command and place it in my quick
> launch bar - it's a one click shutdown/restart.


Question -- natively it's only Win, u, u keys. What's the advantage
to having a shortcut?

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
"You find yourself amusing, Blackadder."
"I try not to fly in the face of public opinion."

Posted by Anando [MS-MVP] on October 11th, 2005


Hello Stan,

Thanks for correcting me. That was a typo. I apologise.

--

Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp
http://www.mvps.org


Folder customizations
http://newdelhi.sancharnet.in/minku

Protect your PC!
http://www.microsoft.com/protect


"Stan Brown" <the_stan_brown@fastmail.fm> wrote in message
news:MPG.1db473c287487504989980@news.individual.ne t...
> On Sun, 9 Oct 2005 15:28:19 -0300 in
> microsoft.public.windowsxp.general, Anando [MS-MVP] favored us
> with...
>> "rodchar" <rodchar@discussions.microsoft.com> wrote in message
>> news:ABB6ADCB-ED3D-47CA-AF4C-BA1B3247A84E@microsoft.com...
>> > is there a way to call Start/Shut Down/Stand by from the command line?

>
>> Type at the command prompt:
>>
>> Shutdown: shutdown.exe -s -t xx
>> Restart: shutdown.exe -t -t xx
>>
>> xx is the number of seconds before the event takes place.

>
> According to the help ("shutdown /?"), the second one should be
> shutdown -r -t xx
> Also, the ".exe" isn't necessary AFAIK.
>
> --
> Stan Brown, Oak Road Systems, Tompkins County, New York, USA
> http://OakRoadSystems.com
> A: Maybe because some people are too annoyed by top-posting.
> Q: Why do I not get an answer to my question(s)?
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?



Posted by David Candy on October 12th, 2005


Question in body
==========
Create a text file and name it shutdown.vbs and place below lines in.

Set wshshell = CreateObject("Shell.Application")
wshshell.shutdownwindows

Question in Subject
============

Put this in a shortcut.
rundll32 Powrprof.dll,SetSuspendState

Note this will hibernate not standby.
--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/...nt/001075.html
=================================================
"rodchar" <rodchar@discussions.microsoft.com> wrote in message news:ABB6ADCB-ED3D-47CA-AF4C-BA1B3247A84E@microsoft.com...
> hey all,
>
> is there a way to call Start/Shut Down/Stand by from the command line?
>
> thanks,
> rodchar


Similar Posts