How can I create a batch file that tells if an installed program (.exe) is 32 or 64 bit?
Sometimes you can tell based on the which folder the program.exe file is in.
If the installed program is 32 bit it will show up in the Program Files (x86)folder. If the file is 64 bit it will show up in the Program Files folder.
But this is not always the case...
For example Google Chrome always shows up in Program Files x86
But the version on my computer is 64 bit:
How can I reference chrome.exe for example and have batch tell me if its 64 or 32 bit?