- 帖子
- 213
- 积分
- 740
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2009-6-5
|
2楼
发表于 2010-3-18 02:32
| 只看该作者
星号在字符串替换的时候有特殊的意义
Environment variable substitution has been enhanced as follows:
%PATH:str1=str2%
would expand the PATH environment variable, substituting each occurrence
of "str1" in the expanded result with "str2". "str2" can be the empty
string to effectively delete all occurrences of "str1" from the expanded
output. "str1" can begin with an asterisk, in which case it will match
everything from the beginning of the expanded output to the first
occurrence of the remaining portion of str1. |
|