title: How to get ProgramFiles paths?
body: <p>I have weird problem.</p>
  
  <p>I`m using windows 7 enterprise sp1 64 bit.</p>
  
  <p>I need to take Program files and Program files X86 directories path for my project. This is what I've done:</p>
  
  <pre><code>Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
  Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
  </code></pre>
  
  <p>but both of these lines returns Program files X86 folder.</p>
  
  <p>How can I resolve it?</p>