Windows Batch Files: if else

前端 未结 6 834
执笔经年
执笔经年 2020-12-24 00:42

I\'m doing a simple batch file that requires one argument (you can provide more, but I ignore them).

For testing, this is what I have so far.

if not          


        
6条回答
  •  执念已碎
    2020-12-24 00:54

    Another related tip is to use "%~1" instead of "%1". Type "CALL /?" at the command line in Windows to get more details.

提交回复
热议问题