回复 5# aa77dd@163.com
aa77dd老师,问个题外的问题哈,- if "!ipAddress:192.168.2.=!" neq "!ipAddress!" (
复制代码 这段代码中的ip地址,我可以用变量吗?比如如下:- set ip=192.168.1.
- if "!ipAddress:!ip!=!" neq "!ipAddress!" (
- set nowIpAddrFile=Result\!ipAddress!.txt
- echo !nowIpAddrFile!
- set nowHtmlIpAddrFile=Result\!ipAddress!.html
- set nowIpAddr=!ipAddress!
- )
复制代码
|