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 %programfiles(x86)% and echo %programfiles%,
both of which displays only C:\Program Files
When I manually checked the registry,
HKLM/Software/microsoft/windows/currentversion,
the programfilesdir points to C:\Program Files and
HKLM/Software/WOW64/Microsoft/winodws/currentversion,
the programfilesdir points to C:\Program Files (x86).
But, why am I always being displayed with C:\Program Files??







