Board logo

标题: [已结][入门]如何理解批处理中的% [打印本页]

作者: test8     时间: 2006-7-26 21:29    标题: [已结][入门]如何理解批处理中的%

%符号在批处理当中是代表啥意思的?
%1这样又是代码什么意思?
知道的朋友请解答下(说的越详细越好),谢。

[ Last edited by willsort on 2006-7-29 at 15:49 ]
作者: 无奈何     时间: 2006-7-26 22:04
%是变量、参数引用字符,%1 %2 分别代表参数1和2。
%variable% 表示引用变量 variable 的值。
具体请参考:
hh ntcmds.chm::/percent.htm
hh ntcmds.chm::/for.htm
以上链接直接在“运行”输入。