问题描述:
就是用不停的Ping一个IP,如果连续5秒针内都Ping不通,就调用系统的关机命令关闭系统!请各位前辈多多指教!
问题解答:
ping -n 5 ipshutdown -s -t 0可以了