Using the Replace Notepad option (Configure, Preferences, General) causes TextPad to open in a new instance whenever I double click on a file associated with Notepad (.txt, .log, et al.)
I've thought about hacking the registry in HKEY_CLASSES_ROOT\txtfile to use TP, but I was hoping for either a more elegant or less invasive solution.
No, I am not trolling the TP forums on New Years Eve Day because I have nothing better to do.
Merry New Year to all!
Replace Notepad causes TextPad to open in a new instance
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Replace Notepad causes TextPad to open in a new instance
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.
-
- Posts: 4
- Joined: Tue May 01, 2007 2:10 pm
I seem to have found it in the Registry, but I am unable to tweak it's behavior.
Checking the Replace Notepad box creates these two reg entries.
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Notepad.exe]
"Debugger"="\"C:\\Program Files\\TextPad 7\\TextPad.exe\" -n"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Notepad.exe]
"Debugger"="\"C:\\Program Files\\TextPad 7\\TextPad.exe\" -n"
I thought that removing the -n option would solve it. It does, but brings a new challenge. Now when I double click on say a .log file, it opens the .log file in my existing instance of TextPad, but it also opens the Notepad.exe in hex mode in TextPad as well.
Checking the Replace Notepad box creates these two reg entries.
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Notepad.exe]
"Debugger"="\"C:\\Program Files\\TextPad 7\\TextPad.exe\" -n"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Notepad.exe]
"Debugger"="\"C:\\Program Files\\TextPad 7\\TextPad.exe\" -n"
I thought that removing the -n option would solve it. It does, but brings a new challenge. Now when I double click on say a .log file, it opens the .log file in my existing instance of TextPad, but it also opens the Notepad.exe in hex mode in TextPad as well.
(2[Bb]|[^2].|.[^Bb])
That is the question.
That is the question.