I'm writing a batch script for windows 7 and want to handle both 64 bit and and x86 processors.
What are the possible values of the Windows
%PROCESSOR_ARCHITECTURE% environment variable?
This question came from our site for professional and enthusiast programmers.
Note that this doesn't tell you the architecture of the processor but only of the process with the environment variable. It returns "x86" for a 32 bit process running on 64 bit Windows.