title: how can find RegAsm.exe in all windows platforms (win7, win8, win10 and windows Server 2008, windows server 2016 etc
body: <p>I would like to search if exists <code>RegAsm.exe</code> especially <code>.net 4 framework</code> and I search in this path:</p>
  
  <pre><code>%windir%\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
  </code></pre>
  
  <ol>
  <li><p>Is this path correct for all windows (Windows 7, 8, 8.1 and 10)<br>
  and Servers Versions 2008, 2016, etc?</p></li>
  <li><p>It is better to use  <code>%SystemRoot%</code> or is the same thing?</p></li>
  <li><p>It is necessary to look for x64 paths?</p></li>
  </ol>