r/scripting • u/LarryDasLama • May 31 '21
Shut down pc when internet connection is lost
Hey smart people,
Im looking for a small .bat script that pings google and if there is no response it shuts down the computer.
I already used google but can’t find anyone else with a similar wish. The only thing i found was a Programm, 12 years old, outdated and doesn’t work anymore.
Thanks for the help :)
6
Upvotes
2
u/hackoofr May 31 '21
1
u/jcunews1 Jun 01 '21
You can use this.