I would like to know how I can display the location of Program Files (x86) in command prompt. I\'m using Windows 7 64bit.
I\'ve tried:
echo %programf
IMHO, one point that is missing in this discussion is that whatever variable you use, it is guaranteed to always point at the appropriate folder. This becomes critical in the rare cases where Windows is installed on a drive other than C:\