How can I verify that a .exe file is built for 64 bit on Windows ? I am used to Linux where I can simply use the ‘file’ command to see this.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Take a look into the file using a HEX editor. There’s a
PEmagic signature somewhere after the DOS stub, and the platform ID is close behind (some bytes later). For 64 bit builds, it is0x8664or so, which is quite easy to spot.