。bat重命名脚本错误添加后缀

问题描述 投票:0回答:1

set "suffix=!suffixes[%index%]!"
batch-file rename
1个回答
0
投票
将是解析loop时的值。
概念上,您需要
index

但这不起作用。
您可以尝试
for ... %%g ...
or

set "suffix=!suffixes[!index!]!"

    

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.