PC Review
Forums
Newsgroups
Windows XP
Windows XP WMI
Simple Script Help
Forums
Newsgroups
Windows XP
Windows XP WMI
Simple Script Help
![]() |
Simple Script Help |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 ![]() |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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/sc...er/default.mspx |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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/sc...ter/default.msp x >. > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 


