当前位置:软件学习 > 其它软件 >>

服务器开机自动发送短信到手机的批处理

@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%"

保存为批处理,运行即可.

补充:软件开发 , 其他 ,
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,