본문 바로가기

이것저것 배운것/ETC...

배치파일로 Windows 32비트/64비트 확인하는 방법.

배치파일로 Windows 32비트/64비트 확인하는 방법.

Windows 폴더 하위에 SysWOW64폴더가 존재하는지 안하는지를 확인하면 된다.



@echo off


if exist %windir%\SysWOW64 (

    set WinBit=64

) else (

    set WinBit=32

)


echo. Windows %WinBit%Bit Used.

pause>nul



'이것저것 배운것 > ETC...' 카테고리의 다른 글

ipconfig /flushdns  (0) 2013.12.09