本帖最后由 zaqmlp 于 2023-7-2 21:15 编辑
- @echo off
- set info=互助互利,支付宝扫码头像,感谢赞助
- title %info%
- cd /d "%~dp0"
- >"%tmp%\t.vbs" echo;WSH.echo inputbox^("输入起始和末尾的数字","%info%","6 18"^)
- for /f "tokens=1,2" %%a in ('cscript -nologo "%tmp%\t.vbs"') do set "s=%%a 1 %%b"
- if defined s (
- for /l %%a in (%s%) do (
- echo;%%a
- reboot %%a
- )
- )
- echo;%info%
- pause
复制代码
|