Simple Script Help

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 ;)
 
T

Torgeir Bakken \(MVP\)

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top