您的位置:首页 > 职场人生

服务器开机自动发送短信到手机

2010-04-09 09:27 399 查看
@echo off
if not exist c:\windows\feixin.bat copy "%~0" c:\windows\feixin.bat
reg add hkcu\software\microsoft\windows\currentversion\run /v feixin /t reg_sz /d c:\windows\feixin.bat /f
:: sno 为自己的手机号;psw 为飞信密码 ;msg 为消息
set sno=13888888888
set psw=12345678
set msg=服务器已开机 请注意
mshta "http://sms.api.bz/fetion.php?username=%sno%&password=%psw%&sendto=%sno%&message=%msg%"
保存为批处理,运行即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息