Windows Protected Files Replacement
Today I've disoverd Notepad2, a notepad replacement with syntax highlighting for most popular languages, https://www.flos-freeware.ch/notepad2.html.
I build it in my own box, and now I'm ready to try to replace the original notepad.exe, I'm following this instructions but it does not work after WXP SP2 is installed.
Now I'm trying with a replacement toll found here (https://www3.telus.net/_/replacer/ ) and it's called replacer.
But it doesn't work :-(
Comments
- Anonymous
October 10, 2004
You need to also replace copies of notepad in WindowsServicePackFilei386 instead of or in addition to dllcache.
This is because SP2 can be uninstalled, so it has its own copies of all the dlls. - Anonymous
October 10, 2004
The comment has been removed - Anonymous
October 10, 2004
I copied them by hand, and had no problems under SP2. But I will mention that I gave up on NotePad2. Great tool, EXCEPT for the Find/Search capability. A large file (over 1000 lines) can take upto a minute to do a simple search on. I reinstalled the old Notepad. - Anonymous
October 10, 2004
I'm also running XP SP2 and I simply wrote a batch file to replace the file because it seems like you need to do all the replacements pretty quickly in order to be successful. The batch file looks like this:
XCopy C:windowsnotepad.exe C:windowsnotepad1.exe
XCopy /Y .notepad2.exe C:windowsSystem32dllcachenotepad.exe
xCopy /Y .notepad2.exe C:windowsSystem32notepad.exe
XCopy /Y .notepad2.exe C:windowsnotepad.exe
If this doesn't work for you then you may also try to disable System Restore (at least temporarily).
HTH
Wes - Anonymous
October 10, 2004
Here's the batch file I use, last time I used it under XP SP2, it worked..
copy notepad2.exe c:windowsservicepackfilesi386notepad.exe
copy notepad2.exe c:windowssystem32dllcachenotepad.exe
copy notepad2.exe c:windowssystem32notepad.exe
copy notepad2.exe c:windowsnotepad.exe - Anonymous
October 10, 2004
The comment has been removed - Anonymous
October 20, 2004
I use the Jeff's batch file, but I changed the window folder to winnt. It worked too...
My OS is Windows 2000 Advanced Server
copy notepad2.exe c:winntservicepackfilesi386notepad.exe
copy notepad2.exe c:winntsystem32dllcachenotepad.exe
copy notepad2.exe c:winntsystem32notepad.exe
copy notepad2.exe c:winntnotepad.exe