windows 开机后任务计划 微信通知 备注部分信息
ComputerBoot.bat
@echo off color 1f title 开机警告 :aaa set str="0" curl -s 访问网址>check.txt set /p str=<check.txt if not "%str%"=="1" ( echo 发送失败 3秒后继续发送... call:sleep 3000 ) else ( echo 发送成功 pause ) call:sleep 3000 goto aaa :sleep set tmp="%temp%\tmp.vbs" echo wscript.sleep %1>%tmp%&%tmp%&del %tmp% goto :eof
wx.vbs
CreateObject("WScript.Shell").Run "cmd /c C:/vbs/ComputerBoot.bat",0