Download for Windows Premium
Publiciteit
environment variable expansion

Vertaling van "environment variable expansion" in Chinees

We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
环境变量扩充
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.
考虑到读取一行文本时所遇到的目前扩充的限制时,延迟环境变量扩充是很有用的,而不是执行的时候。
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.
如果没有指定长度,则采用默认值,即变量数值的余数。 如果两个数字(偏移量和长度)都是负数,使用的数字则是环境变量数值长度加上指定的偏移量或长度。 %PATH:~-10%会提取 PATH 变量的最后十个字符。
Youcan enable or disable delayed environment variable expansion for aparticular invocation of CMD.EXE with the/V:ON or/V:OFF switch.
您可以用/V:ON 或/V:OFF命令行开关,为 CMD.EXE 的某个调用而启用或停用延迟环境变量扩充。
Similarly, the following examplewill not work as expected: set LIST= for %i in ( ) do set LIST=%LIST i echo %LIST%in that it will NOT build up a list of files in the current directory, but instead will just set the LIST variable to the last file found.Again, this is because the %LIST% is expanded just once when theFOR statement is read, and at that time the LIST variable is empty.So the actual FOR loop we are executing is: for %i in ( ) do set LIST= %iwhich just keeps setting LIST to the last file found.Delayed environment variable expansion allows you to use a differentcharacter (the exclamation mark) to expand environment variables atexecution time.
同样,以下这个例子也不会达到预期效果: set LIST= for %i in ( ) do set LIST=%LIST i echo %LIST%原因是,它不会在目前的目录中建立一个文件列表,而皇墙?LIST 变量设成找到的最后一个文件。 这也是因为 %LIST% 在FOR 语句被读取时,只被扩充了一次;而且,那时的 LIST 变量是空的。 因此,我们真正执行的 FOR 循环是: for %i in ( ) do set LIST= %i这个循环继续将 LIST 设成找到的最后一个文件。
Er zijn geen resultaten gevonden voor deze term.
Ga naar Premium voor toegang tot miljoenen vertaalvoorbeelden, onbeperkt woorden opslaan en leren, zonder advertenties.

Synoniemen voor environment variable expansion in het Engels

Woord & uitdrukking van de dag
Afbeelding van de dag
hair claw: hair clip with interlocking teeth and a spring
Ontdek het woord
Publiciteit

Suggesties

Resultaten: 6. Exact: 6. Verstreken tijd: 58 ms.