Restart then sleep?

S

Steve

I restart the PC most nights just to clean everything out, then put it
in sleep mode. Is there any way to accomplish this with one command,
to avoid waiting around while it restarts?


--

The government is unresponsive to the needs of the little man.
Under 5'7" it is impossible to get your congressman on the phone.

....Woody Allen
 
J

Jon

"Steve" <dbn@whc.inv> wrote in message
news:gl2m93hnhpigj766doqdlpij6serbqr08r@4ax.com...
>I restart the PC most nights just to clean everything out, then put it
> in sleep mode. Is there any way to accomplish this with one command,
> to avoid waiting around while it restarts?
>
>
> --
>
> The government is unresponsive to the needs of the little man.
> Under 5'7" it is impossible to get your congressman on the phone.
>
> ...Woody Allen




You could achieve that by setting your PC to automatically go to sleep after
a period of inactivity

Control Panel > Power Options > Change plan settings

--
Jon
 
S

Steve

"Jon" <Email_Address@SomewhereOrOther.com> wrote:
>>I restart the PC most nights just to clean everything out, then put it
>> in sleep mode. Is there any way to accomplish this with one command,
>> to avoid waiting around while it restarts?
>>

>You could achieve that by setting your PC to automatically go to sleep after
>a period of inactivity
>Control Panel > Power Options > Change plan settings


Thanks Jon. I already have that set, just wondering if there's some
sorta batch command that would force this immediately after restart.


--

The government is unresponsive to the needs of the little man.
Under 5'7" it is impossible to get your congressman on the phone.

....Woody Allen
 
J

Jon

"Steve" <dbn@whc.inv> wrote in message
news:an9n93tav0pd9pg865m53q0fkpq5bnj73b@4ax.com...
> "Jon" <Email_Address@SomewhereOrOther.com> wrote:
>>>I restart the PC most nights just to clean everything out, then put it
>>> in sleep mode. Is there any way to accomplish this with one command,
>>> to avoid waiting around while it restarts?
>>>

>>You could achieve that by setting your PC to automatically go to sleep
>>after
>>a period of inactivity
>>Control Panel > Power Options > Change plan settings

>
> Thanks Jon. I already have that set, just wondering if there's some
> sorta batch command that would force this immediately after restart.
>
>



I don't believe there's an inbuilt command to do it, but you could
certainly achieve it by a combination of 2 scripts or batch files

eg

One that sets a flag of your choice and reboots.
And another (a startup script) that tests the status of the flag and if it's
set then goes into sleep mode, after resetting it.

--
Jon
 
B

brink

Steve383891 Wrote:
> I restart the PC most nights just to clean everything out, then put it
> in sleep mode. Is there any way to accomplish this with one command,
> to avoid waiting around while it restarts?
>
>
> --
>
> The government is unresponsive to the needs of the little man.
> Under 5'7" it is impossible to get your congressman on the phone.
>
> ....Woody Allen


Hi Steve,

Would stopping and restarting "explorer.exe" in Task Manager work for
you on this. It is essentially a quick restart. This way you do not
have to restart the whole computer. See the link below for details.

http://www.vistax64.com/tutorials/78012-restart-explorer.html?ltr=R

Shawn


--
brink

*There are no dumb questions, just the people that do not ask them.*
'_www.Vistax64.com_' (http://www.vistax64.com)
*Please post feedback to help others.*
 
Back
Top Bottom