Du befindest dich hier: Willkommen » Windows » Batch-Snippets » 32Bit oder 64Bit

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
windows/batch/32bit-oder-64bit.txt · Zuletzt geändert: 12.12.2023 13:12 von Martin