32Bit oder 64Bit

Prüfen, ob das System 32Bit oder 64Bit ist.

@echo off

:CheckBits
if exist "%PROGRAMFILES(X86)%" (goto 64BIT) else (goto 32BIT)

:64BIT
echo System is 64-bit...
goto END

:32BIT
echo System is 32-bit...
goto END

:END
echo.
pause