Simple Script Help

  • Thread starter Thread starter Peter Whale
  • Start date Start date
P

Peter Whale

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 ;)
 
Peter said:
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.
 
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.
 
Back
Top