Storm-E
2008-10-17, 18:44
G'day all
I use a small script file to run spybot then close the computer down after it's finished. But when spybot removes something in the scan it pops up the "I have found 10 items" window and just sits there. I get up the next morning to find the computer still running. When nothing is found it shuts down as expected.
I could use the "/taskbarhide" switch but then I loose complete control of the program and if I come back to the computer and want to abort spybot I can't without the using the task manager.
I would have thought the "/autoclose" meant close Spybot when finished under all conditions.
Is there anyway to ensure spybot shits down when it finishes?
THANKS!
The relevant bits of the VBscript are below.
result = RunFile("C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" , "/autoupdate /autoclose", true)
result = RunFile("C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe", "/advancedmode /autocheck /autofix /autoclose /allhives", true)
result = RunFile(EV_SystemRoot&"\system32\shutdown.exe", "-t 60 -s -f", "false")
I use a small script file to run spybot then close the computer down after it's finished. But when spybot removes something in the scan it pops up the "I have found 10 items" window and just sits there. I get up the next morning to find the computer still running. When nothing is found it shuts down as expected.
I could use the "/taskbarhide" switch but then I loose complete control of the program and if I come back to the computer and want to abort spybot I can't without the using the task manager.
I would have thought the "/autoclose" meant close Spybot when finished under all conditions.
Is there anyway to ensure spybot shits down when it finishes?
THANKS!
The relevant bits of the VBscript are below.
result = RunFile("C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" , "/autoupdate /autoclose", true)
result = RunFile("C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe", "/advancedmode /autocheck /autofix /autoclose /allhives", true)
result = RunFile(EV_SystemRoot&"\system32\shutdown.exe", "-t 60 -s -f", "false")