I am working on product testing automation. After product installation, I need computer still on instead of restart automatically. Anyone can help me how to force computer not to restart using Batch script. Thank so much
Asked
Active
Viewed 140 times
0
-
what OS do you use? linux? windows? – Netorica May 28 '13 at 02:58
2 Answers
1
Here's a hack that might work. Run it in the background while installing.
:start
shutdown /a 2>NUL
timeout 1
goto start

Blorgbeard
- 101,031
- 48
- 228
- 272