gpt4 book ai didi

windows - "was unexpected at this time."

转载 作者:可可西里 更新时间:2023-11-01 12:04:13 28 4
gpt4 key购买 nike

我在一个批处理文件上运行这个命令:

for %I in (*.txt *.doc) do copy %I c:\test2

...它不断返回:

I was unexpected at this time.

这个错误的原因是什么?

最佳答案

如果您在批处理/cmd 文件中运行,您需要加倍 % 标记:

for %%i in (*.txt *.doc) do copy %%i c:\test2

单个 % 变体只能在命令行中使用。

关于windows - "was unexpected at this time.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7769591/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com