PC Review


Reply
Thread Tools Rate Thread

Simple Script Help

 
 
Peter Whale
Guest
Posts: n/a
 
      4th Aug 2004
For various reasons I have a need to restart an XP Home
PC on a daily basis. Does anyone have some simple
scripting / task advice on how to achieve this? I was
thinking of simply making a .bat file with the restart
command in it and scheduling it with the built in
scheduler. However I am unfamiliar with the command
syntax and commands needed within the .bat file to
achieve the desired result. Anyone got a quick and dirty
solution?
Many thanks in advance and I hope I posted this in the
right section
 
Reply With Quote
 
 
 
 
Torgeir Bakken \(MVP\)
Guest
Posts: n/a
 
      4th Aug 2004
Peter Whale wrote:

> For various reasons I have a need to restart an XP Home
> PC on a daily basis. Does anyone have some simple
> scripting / task advice on how to achieve this? I was
> thinking of simply making a .bat file with the restart
> command in it and scheduling it with the built in
> scheduler. However I am unfamiliar with the command
> syntax and commands needed within the .bat file to
> achieve the desired result. Anyone got a quick and dirty
> solution?
> Many thanks in advance and I hope I posted this in the
> right section

Hi

Shutdown.exe that comes with WinXP should do the job.

In a command prompt, run Shutdown.exe /? for help.


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx
 
Reply With Quote
 
Guest
Posts: n/a
 
      4th Aug 2004
Thank you very much. That command live with some
arguements should be perfect in a batch file set to run
using task scheduler. Many thanks for the prompt and
helpful response.
>-----Original Message-----
>Peter Whale wrote:
>
>> For various reasons I have a need to restart an XP

Home
>> PC on a daily basis. Does anyone have some simple
>> scripting / task advice on how to achieve this? I was
>> thinking of simply making a .bat file with the restart
>> command in it and scheduling it with the built in
>> scheduler. However I am unfamiliar with the command
>> syntax and commands needed within the .bat file to
>> achieve the desired result. Anyone got a quick and

dirty
>> solution?
>> Many thanks in advance and I hope I posted this in the
>> right section

>Hi
>
>Shutdown.exe that comes with WinXP should do the job.
>
>In a command prompt, run Shutdown.exe /? for help.
>
>
>--
>torgeir, Microsoft MVP Scripting and WMI, Porsgrunn

Norway
>Administration scripting examples and an ONLINE version

of
>the 1328 page Scripting Guide:
>http://www.microsoft.com/technet/scr...er/default.msp

x
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Script?? bddbrl Windows XP Security 3 10th Dec 2007 06:37 PM
Help With A Simple Script? =?Utf-8?B?TWlrZSBIYXJ0c291Z2g=?= Microsoft Outlook VBA Programming 1 12th Apr 2005 08:02 PM
Simple script help Dan Microsoft Windows 2000 Active Directory 0 22nd Sep 2004 07:23 PM
Re: is there a very simple script interpreter? Maurice Reeves Microsoft C# .NET 3 18th Jul 2004 11:12 PM
Need help with simple VBA Script Donald Parker Microsoft Excel Programming 7 25th Jan 2004 11:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:22 PM.