Hızlı yanıt: kod örneği
stackoverflow.com using-programfilesx86-on-windows-os-32bit
According to this the environment variable is only available on 64-bit systems.However, if you are on a 64-bit system and use , the result you get depend on whether the process requesting the environment variable is 32-bit or 64-bit. So from a 64-bit process on a 64-bit system you would get , from a 32-bit process on a 64-bit system you would get , and from a 32-bit process on a 32-bit system you would get .If this doesn't help, perhaps you can comment or edit your original question to make it specific what you are trying to do. As it currently stands, the answer to your question is "No".
%PROGRAMFILES(x86)%
%PROGRAMFILES%
C:\Program Files
C:\Program Files (x86)
C:\Program Files