Script 8.1 to run a program then reboot and repeat?

Soldato
Joined
16 Jan 2006
Posts
3,046
Hi.

I think my H60 is faulty. At random boots my pc throttles when doing anything remotely stressful.

Still have my suspicions that mobo could be faulty so I need to make sure.

To do this properly I need to do at least 20 boot/program test cycles and monitor the temps.

I have set afterburner to log temps.

Can I script windows to run a test program at boot, reboot when it finishes and keep going until I stop it?

If so, how?

Thanks a lot.
 
Code:
@ECHO OFF
ECHO Doing the program stuff
START "C:\Program Files\Wherever\Whatever.exe"
ECHO Waiting around a bit (4 mins)
PING -n 240 127.0.0.1 > nul
ECHO Then reboot in 1 more min
SHUTDOWN -r -t 60
ECHO Coffee time!

Stick that in notepad, change the Whatever and Whereever to ... er.. whatever you want to run :)
Save it as a CMD file.
Make a shortcut in start menu, Startup folder pointing to the CMD file.
Reboot - see if it works
When you want to remove it, delete the shortcut
 
Back
Top Bottom