判断批处理bat文件中参数%n是否为空的几种方法
摘要:
我需要测试是否设置了变量。我已经尝试了几种技术,但他们忽视了,只要%1用双引号包围时,如果%1是"c:\some path with spaces"。 IF NOT %1 GOTO MyLabel // This is invalid syntax IF "%1" == "" GOTO MyLabe 阅读全文
posted @ 2021-01-20 11:56 jack_Meng 阅读(15084) 评论(0) 推荐(1)
浙公网安备 33010602011771号