bat处理中,实现变量赋值,变量自增,求代码
发布网友
发布时间:2022-06-10 20:24
我来回答
共1个回答
热心网友
时间:2024-08-27 02:11
@echo off
setlocal enabledelayedexpansion
set za=192.168.1.1
set zb=192.168.2.134
set zc=10.85.3.21
set zd=113.53.86.1
set ze=...
set zf=..
(for %%i in (a b c d e f) do (
ping !z%%i! -n 2 -l 512
echo ...................................
))>m.txt
pause