摘要:
bat %n 判断传入的参数值和使用注意 if "%1" == "" echo empty 1 if exist "%1" echo 1path exist 注意:要加上双引号"",不然如果传入的参数是空的话,会导致bat闪退,因为如果是空,而没有双引号,那么就变成 if == "" echo em 阅读全文
摘要:
bat 读取 ini 文件 参考链接:https://stackoverflow.com/questions/2866117/windows-batch-script-to-read-an-ini-file 这个 bat 支持 ini 的键值与=号之间存在空格,例如 key1 = value1 re 阅读全文