proxy代理   soft软件   IT 业界特快   norton 诺顿病毒库   代理列表   search FTP搜索   whois IP地理位置   blog 追求完美  
money理财   life生活   RSS聚合门户   firefox WEB浏览器   免费域名   typeset 假古文   AntiVirus 反病毒   ipcn 站点导航  

« perl sed awk 获取字符串一部分的方法 | Main | 折腾 php mysql »

November 3, 2006

windows dos .bat 脚本 set 赋值注意别多写等号

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2006/11/03/001129.html
http://windtear.net/archives/2006/11/03/001129.html

windows dos .bat 脚本 set 赋值注意别多写等号

正确:
set gw=192.168.1.1

错误:
set gw==192.168.1.1

后面的通过 %gw% 调用时 会是  =192.168.1.1
本blog WWW

Posted by windtear at November 3, 2006 5:03 PM

本站使用中的任何问题,请与 windtear @ windtear.net 联系
Copyright© 1999-2024 Windtear. All rights reserved.