Martin: Default text-editor for IE

Beitrag lesen

Hi Alex,

the trick you mention about replacing the original notepad.exe is fine, in general, but...
Windows itself does quite the same masquerade to pretend the presence of write.exe for the sake of backward compatibility to Windows 3.x. This write.exe, however, is just a stub that invokes wordpad.exe and passes the entire command line along.
Quite some time ago, I thought I could use this stub, rename it, patch the filename "wordpad.exe" and use that as a notepad.exe replacement. It works for almost any application that would normally invoke Notepad, except for IE when I try to view the source code. The reason is that IE obviously does not enclose the file name in quotes when invoking Notepad. So my editor complains "Can't find 'Temporary'", "Can't find 'internet'", "Can't find 'files'", etc.
Do you happen to know a workaround for this?

Hope you do,

Martin