Finally, support for delayed environment variable expansion has been added.
终于添加了延迟环境变量扩充的支持。
If the length is not specified, then it defaults to theremainder of the variable value. If either number (offset or length) isnegative, then the number used is the length of the environment variablevalue added to the offset or length specified. %PATH:~-10%would extract the last 10 characters of the PATH variable. %PATH:~0,-2%would extract all but the last 2 characters of the PATH variable.Finally, support for delayed environment variable expansion has been added.
Delayed environment variable expansion allows you to use a different character (the exclamation mark) to expand environment variables at execution time.
延迟环境变量扩充允许您使用一个不同的字符(惊叹号)在执行时间扩充环境变量。
Delayed environment variable expansion is useful for getting around the limitations of the current expansion which happens when a line of text is read, not when it is executed.
考虑到读取一行文本时所遇到的目前扩充的限制时,延迟环境变量扩充是很有用的,而不是执行的时候。
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.