As [this link suggests](http://untidy.net/blog/2009/11/03/replacing-notepad-with-pn-via-image-file-execution-options/), I want replace `Notepad.exe` with `Notepad2.exe` using "**Image File Execution Options**" function by run the command

```
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

```

But when I run **notepad** it still opens the file 

> 
> c:\windows\notepad.exe
> 
> 
> 

in notepad2.exe as a text file by default. 

Is there a way to avoid that?

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 :(