title: Set "Image File Execution Options" will always open the named exe file as default
body: <p>As <a href="http://untidy.net/blog/2009/11/03/replacing-notepad-with-pn-via-image-file-execution-options/" rel="noreferrer">this link suggests</a>, I want replace <code>Notepad.exe</code> with <code>Notepad2.exe</code> using "<strong>Image File Execution Options</strong>" function by run the command</p>
  
  <pre><code>reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" 
        /v "Debugger" /t REG_SZ /d "\"c:\windows\Notepad2.exe\" /z" /f
  </code></pre>
  
  <p>But when I run <strong>notepad</strong> it still opens the file </p>
  
  <blockquote>
    <p>c:\windows\notepad.exe</p>
  </blockquote>
  
  <p>in notepad2.exe as a text file by default. </p>
  
  <p>Is there a way to avoid that?</p>
  
  <p>I know using this tech Notepad.exe will as the first param passed to Notepad2.exe. but I don't know how to avoid this :(</p>