"在这个时候意外&QUOT。 [英] "was unexpected at this time."
本文介绍了"在这个时候意外&QUOT。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在一个批处理文件运行此命令:
I'm running this command on a batch file:
for %I in (*.txt *.doc) do copy %I c:\test2
...它不断地返回:
...and it keeps returning:
我是在这个时候意外。
什么是此错误的原因是什么?
What is the cause of this error?
推荐答案
如果你是一个批处理/ CMD文件内运行,你需要的双的的%
标记:
If you're running within a batch/cmd file, you need to double the %
markers:
for %%i in (*.txt *.doc) do copy %%i c:\test2
单%
变种只有通过命令行工作。
The single %
variant only works from the command line.
这篇关于"在这个时候意外&QUOT。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文