|
|
|||||||
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 |
||||||||
|
|
|||||||
In addition to Programfilesx86, I would also like to suggest the following as new macros too... Code: function HKLMSoftware32 $HKLMSoftware32="HKLM\Software" + iif(@onwow64,"\WOW6432Node","") endfunction function System32() $System32="%systemroot%\" + iif(@onwow64,"syswow64","system32") endfunction It seems like I use these all the time now, when trying to work with older 32bit systems along with the newer 64bit ones. |