Using a mixed environment of 32 and 64bit machines cause quite a headache when trying to determine the correct "Program Files" directory. I would like to see a new macro called @programfilesx86.

I have been using the following function to resolve the correct 32bit folder regardless of the OS's bit version.

 Code:
function programfilesx86()
  $programfilesx86=iif(@onwow64,"%programfiles(x86)%","%programfiles%")
endfunction