0
我有它运行如下的批处理文件:批次:比较的命令行参数
c:\test.bt -abcd
现在里面的批处理文件,我有以下代码:
if "%1" == "-abcd"
(
do something
)
else
(
do something else
)
,但它一直给我执行中出现以下错误:
The syntax of the command is incorrect.
if "-abcd" == "-abcd"
请问有人可以告诉我发生了什么事吗?