scarcr 当前离线
列兵
if "%var%"=="%var:s=%" (echo this string contains "s") else (echo the string doesn't contain "s")复制代码
if not %a% equ 1 (goto :eof) else if not %b% equ 1 (goto :eof) else (echo a=1,b=1)复制代码
TOP