hi, I'm trying to get a bat file together that pings every 5 minutes, and will reboot the pc if a ping is not found, I get an error:
"The process cannot access the file because it is being used by another process.",
when I try to run this bat file called "ping.bat":
any assistance will be greatly appreciated
"The process cannot access the file because it is being used by another process.",
when I try to run this bat file called "ping.bat":
Code:
@echo off ping -n 1 -w 300000 www.google.com | find "could not find host" > null && call shutdown -r -t 0 -f call ping.bat
Comment