把bat文件存为ANSI/GB2312编码- @echo off&cd /d "%~dp0"
- set "txtfile=qq.txt"
- if not exist "%txtfile%" (echo;"%txtfile%" 未找到&pause&exit)
- for /f %%a in ('type "%txtfile%"') do (
- echo;%%a签到
- curl "http://jfasdff.com:5700/send_private_msg?user_id=%%a&message=请做好签到工作!"
- )
- pause
- exit
复制代码
|