Hi SC -
Following are instructions I made up to do what you want. My version is
based on directions given by the author of metapad -- which is a nice,
small, and free notepad replacement that I've used for years. Just
substitute your program name for 'metapad.exe':
-----
1. Rename 'metapad.exe' to 'notepad.exe'.
2. Terminate Notepad if it is running.
3. Delete "notepad.exe" from :
C:\Windows
C:\Windows\System32
C:\Windows\ServicePackFiles\i386
-------------------------------------------------------------------------------------
NOTE: On Windows XP systems, You may need to temporarily rename the \i386,
C:\Windows\ServicePackFiles, and/or C:\WINDOWS\system32\dllcache
folders to
allow deletion of the original notepad.exe files; otherwise, XP's WFP
(Windows File Protection) replaces the deleted file with the original
file.
To view the C:\Windows\ServicePackFiles and
C:\WINDOWS\system32\dllcache
directories, go to My Computer/Windows Explorer > Tools > Folder
Options.
On the View tab, uncheck the "Hide protected operating system files
(Recommended)" box.
-------------------------------------------------------------------------------------
4. In the \ServicePackFiles\i386 and/or C:\WINDOWS\system32\dllcache
directory,
rename/move/delete the original notepad.exe file.
5. Copy the new notepad.exe file into the same directories from which you
deleted the
original.
6. Rename the \ServicePackFiles and/or \i386 directory back to its original
name.
7. When Windows asks if it should restore the replaced file with a backup
copy, answer "NO";
when it asks, "keep the unknown versions of the file?", answer "YES".
-----
An easier way to get around WFP is "Windows File Protection Switcher", and
it's available here:
http://fileforum.betanews.com/detail/Windows_File_Protection_Switcher/1106499902/1
--
Hoppy
(e-mail address removed)
~~
Simply wrote on Sun, 08 Apr 2007 08:26:29 GMT:
SC> I want to use a more advanced text editor for the "view source"
SC> function in IE6, I've tried adding the "View Source Editor" key to
SC> HKLM\soft\ms\ie branch, but no luck.
SC> I tried to replace the useless and frustrating little Notepad.exe with
SC> a renamed version of freeware called "Notepad2", but XP keeps replacing
SC> the file immediately with it's useless piece of code.
SC> Is there any way to over-ride or cripple XP's tendancy to keep its
SC> sacred little notepad alive?
SC> thanks for any hints.
SC> SC