- ver|findstr /i "xp">nul 2>nul&&if /i "%PROCESSOR_IDENTIFIER:~0,3%"=="X86" (goto 32) ELSE goto 64
- ver|findstr /i "7">nul 2>nul&&if /i "%PROCESSOR_IDENTIFIER:~0,3%"=="X86" (goto 32) ELSE goto 64
- ver|findstr /i "10">nul 2>nul&&if /i "%PROCESSOR_IDENTIFIER:~0,3%"=="X86" (goto 32) ELSE goto 64
复制代码 这几句判断版本的没有任何意义
况且ver的输出未必是你想象的那样
写批处理可不能靠猜 |