[ Last edited by zasxcdfv on 2007-6-27 at 04:05 PM ]作者: xintian 时间: 2007-6-27 16:04 还是提示 "此时不应有 ||。"
[ Last edited by xintian on 2007-6-27 at 04:06 PM ]作者: caruko 时间: 2011-1-24 17:07 可以用 set /a 的逻辑或来计算
比如
if "str1"=="str2" set /a m=1
if "str3"=="str4" set /a n=1
set /a x=m "|" n
if %x% EQU 1 command作者: Hanyeguxing 时间: 2011-1-24 19:18 if "str1"=="str2" set m==
if "str3"=="str4" set m==
if defined m command