windows常用命令(延迟扩展篇)-成都创新互联网站建设

关于创新互联

多方位宣传企业产品与服务 突出企业形象

公司简介 公司的服务 荣誉资质 新闻动态 联系我们

windows常用命令(延迟扩展篇)

  1. 复合语句中:
    setlocal EnableDelayedExpansion
    set  a=1  &&  echo  !a!
  2. for循环中:
    setlocal EnableDelayedExpansion
    for  /l  %%i  in  (1,2,5)  do  (
        set  /a  a=%%i
        echo  !a!
    )

分享题目:windows常用命令(延迟扩展篇)
网页URL:http://kswsj.cn/article/iegose.html

其他资讯