@echo off
set OSBit=0
:64Judge
if "%PROCESSOR_ARCHITECTURE%"=="x86" ( set OSBit=x32 ) else (
set OSBit=x64
)
:Show
echo %OSBit%
pause
@echo off
set OSBit=0
:64Judge
if "%PROCESSOR_ARCHITECTURE%"=="x86" ( set OSBit=x32 ) else (
set OSBit=x64
)
:Show
echo %OSBit%
pause