hi guys,
I'm trying to write a maintance .bat file to do some computer upkeep while i'm away from home.
Right now, I want it to run the following programs in the following order:
AntiVir -- Update and scan hard drive
Spybot -- Update and scan hard drive
Windows Defragger -- Defrag C
I have all the commands set up, but when I tried to do a test run of the .bat, I got an error for AntiVir saying something along the lines of 'the 16-bit application is attempting to access the hard drive, which is not supported' Also, At the end of the antivirus scan (which didn't take place because AntiVir couldn't load the virus definitions file from the hard drive), It requires me to press enter to end, which effectively pauses the entire batch file. Is there a way around that?
Also I plan on using windows task scheduler to run the .bat, but is it able to wake the computer up from hibernation mode, or only from standby mode? I don't have an automatic turn-on setting in my BIOS, is there another way I can set the computer to turn on at a specific time and date? (don't think I have wake on LAN either)
finally, is there a way to log the output of the bat file?
Thanks
I'm trying to write a maintance .bat file to do some computer upkeep while i'm away from home.
Right now, I want it to run the following programs in the following order:
AntiVir -- Update and scan hard drive
Spybot -- Update and scan hard drive
Windows Defragger -- Defrag C
I have all the commands set up, but when I tried to do a test run of the .bat, I got an error for AntiVir saying something along the lines of 'the 16-bit application is attempting to access the hard drive, which is not supported' Also, At the end of the antivirus scan (which didn't take place because AntiVir couldn't load the virus definitions file from the hard drive), It requires me to press enter to end, which effectively pauses the entire batch file. Is there a way around that?
Also I plan on using windows task scheduler to run the .bat, but is it able to wake the computer up from hibernation mode, or only from standby mode? I don't have an automatic turn-on setting in my BIOS, is there another way I can set the computer to turn on at a specific time and date? (don't think I have wake on LAN either)
finally, is there a way to log the output of the bat file?
Thanks
