You are not logged in.

#1 18 Oct 2006 18:26

cp-id10t
Member
Registered: 18 Oct 2006
Posts: 2

Automatic Reboot

Hello All,

I am new to creating batch files on windows so this may be a stupid question, but here goes...

I need to set a Windows XP computer to reboot every morning at say 1:00 am.  It is my understanding that something like "at 01:00 shutdown /l /r /y /c" would process such a reboot but I'm not clear on how this would be accomplished every day.  How/where do I store this command and have it run everyday?

Thanks in advance for your assistance.

Offline

#2 18 Oct 2006 18:32

Simon Sheppard
Admin
Registered: 27 Aug 2005
Posts: 1,130
Website

Re: Automatic Reboot

You can store the batch script anywhere on the local machine

e.g. C:\myrestartscript.cmd or C:\batch\my_script.cmd

Look at the example on this page
http://ss64.com/nt/schtasks.html

you can also set this up manually in the GUI -> control panel -> scheduled tasks

Offline

#3 19 Oct 2006 14:35

cp-id10t
Member
Registered: 18 Oct 2006
Posts: 2

Re: Automatic Reboot

Simple enough.  Thanks Simon!

Offline

Board footer

Powered by