标签:inter cal var 批处理文件 stat echo new sage code
newIP.bat
@echo =========== Changing to IP : 222.192.41.%1
netsh interface ip set address "以太网" static 222.192.41.%1 255.255.255.0 222.192.41.1
usage: newIP num ;
callTop.bat
@echo off
set varIP=2
:continue
echo 执行第%varIP%次.
call newIP %varIP%
set /a varIP+=1
pause
if %varIP% lss 254 goto continue
@echo 执行完毕
pause
usage: callTop ;
标签:inter cal var 批处理文件 stat echo new sage code
原文地址:https://www.cnblogs.com/juking/p/10729445.html