相关疑难解决方法(0)

为什么我不能在批处理或cmd中调用"IF"和"FOR"?

说实话,我不希望这里有一个令人满意的答案.这个命令不能被调用,就是这样(据我所知,只有那些不能用于调用的命令).以下是其输出的几个示例:

C:\Windows\system32>call @if a==a echo called 
',' is not recognized as an internal or external command,
operable program or batch file.

C:\Windows\system32>call (@if a==a echo called)
';' is not recognized as an internal or external command,
operable program or batch file.

C:\Windows\system32>call if a==a echo called
'if' is not recognized as an internal or external command,
operable program or batch file.

C:\Windows\system32>call for  %a in (1) do @echo called
'for' is not recognized as an internal or external command,
operable …
Run Code Online (Sandbox Code Playgroud)

batch-file

5
推荐指数
1
解决办法
889
查看次数

标签 统计

batch-file ×1