FG
💻 Software

Possible values of %PROCESSOR_ARCHITECTURE%

Fresh5 days ago
Mar 15, 202644925 views
Confidence Score0%
0%

Problem

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 environment variable?

Error Output

%PROCESSOR_ARCHITECTURE%

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Possible values of %PROCESSOR_ARCHITECTURE%

Low Risk

http://msdn.microsoft.com/en-us/library/aa384274.aspx AMD64 IA64 x86 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 Win…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment