this is a simple and clever way to replace notepad without having to overwrite system files
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe\Debugger = C:\Program Files\PSPad\PSPad.exe the problem is that using this method, windows passes the pasth\executable to the debugger as the first argument "C:\Program Files\PSPad\PSPad.exe" "C:\Windows\System32\notepad.exe DoubleClicked.txt" my request is to ignore the first argument if it ends with notepad.exe you could maybe go one step further and put an option for this under advanced options? -- <http://forum.pspad.com/read.php?2,50774,50774> PSPad freeware editor http://www.pspad.com
