What would a 32-bit application running on Windows 7 return for the below?
Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles)
C:\Program Files (x86)
or C:\Program Files
?
On 32 bit Windows 7 you should get "C:\Program Files", on 64 bit "C:\Program Files (x86)".
It doesn't matter what it returns. Either value will map to the same folder, file system virtualization will always map it to (x86) for a 32-bit app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With