檢查EXE、DLL、SYS等檔案是32位元(x32 bit)還是64位元(x64 bit)

檢查EXE、DLL、SYS等檔案是32位元(x32 bit)還是64位元(x64 bit)

檢查EXE、DLL、SYS等檔案是32位元(x32 bit)還是64位元(x64 bit) [GOOGLE: x32 x64 確認 EXE]


資料來源: https://www.796t.com/p/892838.html


教學語法: [Tool path ~ C:/Program Files (x86)/Microsoft Visual Studio XX.0/VC/bin]

dumpbin.exe /headers file.exe 


實際測試語法:

cd C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin

REM 針對非.NET測試
dumpbin.exe /headers C:\Users\devel\Desktop\CS_NET6_USE_CPPX32DLL\CS_NET6_USE_CPPX32DLL\bin\x86\Debug\net6.0\CB_BaseLib.dll
dumpbin.exe /headers C:\Users\devel\Desktop\CS_NET6_USE_CPPX32DLL\CS_NET6_USE_CPPX32DLL\bin\x86\Debug\net6.0\c_MathFuncsDll.dll

REM 針對  .NET測試
dumpbin.exe /headers C:\Users\devel\Desktop\CS_NET6_USE_CPPX32DLL\CS_NET6_USE_CPPX32DLL\bin\Debug\net6.0\CS_NET6_USE_CPPX32DLL.exe
dumpbin.exe /headers C:\Users\devel\Desktop\CS_NET6_USE_CPPX32DLL\CS_NET6_USE_CPPX32DLL\bin\x86\Debug\net6.0\CS_NET6_USE_CPPX32DLL.exe

One thought on “檢查EXE、DLL、SYS等檔案是32位元(x32 bit)還是64位元(x64 bit)

  1. 將查詢結果轉存文字檔

    cd C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin

    dumpbin.exe /headers C:\Users\devel\Desktop\Code\VTeamCreditCard_project\VTeamCreditCard\bin\Release\net6.0\EcrAPI.exe >C:\Users\devel\Desktop\123.txt
    pause

    cls
    dumpbin.exe /headers C:\Users\devel\Desktop\Code\VTeamCreditCard_project\VTeamCreditCard\bin\Release\net6.0\VTeamCreditCard.exe >>C:\Users\devel\Desktop\123.txt
    pause

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *