topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 1:50 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Any app to auto-replace Notepad ??  (Read 26174 times)

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Any app to auto-replace Notepad ??
« on: February 28, 2007, 03:39 PM »
For five years or so, I have been using Metapad, and think it is fine. Now my old PC with Windows 2000 is dead, and I am looking for a replacement for Notepad for my new PC with XP Home. When I read what I did many years ago, when installing Metapad, my stomack gets uneasy and my heart pumps extra hard: did I really do all this, just to replace Notepad, back then? And now, using XP, it has gotten even more difficult! :

[28] - Windows XP

Q:  How do I replace notepad under Windows XP?

A:  System File Protection is in full effect.

You can try the following to get around System File Protection. Be very quick or XP will replace the file and it won't work. Make sure you don't have the WinXP CD-ROM in your drive!

Copy metapad renamed as Notepad.exe to the clipboard.
Go to C:\WINDOWS\System32\dllcache (NB: in XP SP2 this has changed to C:\WINDOWS\ServicePackFiles\i386)
Paste the file there.
Go to C:\WINDOWS\System32 (using Backspace)
Paste the file there.
QUICKLY! Go back to C:\WINDOWS (another Backspace) and paste the file there.
If you have done this correctly, a message should pop up saying that a bad version of a Windows System file has been installed. Make sure you select 'Keep this file' or a similar option. If it doesn't work, keep trying, because it will. Just do the three pastes very fast.

A variation on the method above follows (submitted by Samutz):

I found another way to replace notepad with metapad that doesn't require you to work too fast. I made a copy of metapad.exe called notepad.exe, then made a batch file with the following commands:

    copy /-y notepad.exe C:\WINDOWS\System32\dllcache
    copy /-y notepad.exe C:\WINDOWS\ServicePackFiles\i386
    copy /-y notepad.exe C:\WINDOWS\System32
    copy /-y notepad.exe C:\WINDOWS
   
Then I saved it as copy.bat and ran it. It prompts for overwrite for each file, but all you have to hit is Y and Enter a few times. I find it much easier than trying to flip through folders as fast as I can to paste it before Windows replaces it.

- for now, this is too confusing to me!

I know there are many editors to replace Notepad, but someone must have written some kind of auto-replacement feature as well??? 

:tellme:  Speak up, please!

iphigenie

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,170
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #1 on: February 28, 2007, 03:58 PM »
ConText does it, if i recall.

Nighted

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 572
  • Meat Popsicle
    • View Profile
    • Nighted@deviantART
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #2 on: February 28, 2007, 04:10 PM »
You do know that you can just change the association of the text file to open in any other program, right? You don't have to actually replace notepad.exe. You must know that though. I also replace the default notepad with notepad2, but I permanently disable file protection before installing XP using nLite.

XPLite lets you turn off file protection although I've never used it. I think WinXP Manager lets you do it also.
I`m a firm believer in the philosophy of a ruling class, especially since I rule.

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #3 on: February 28, 2007, 04:32 PM »
ConText does it, if i recall.

Wow; that conTEXT sure is some fine editor!

But it may be a hole lot more than what I am seeking - and too advanced for me.

Three things I really liked about Metapad was the speed (the setup.zip is only 46 KB), the right-click option "Open with Metapad" - and the simplicity dispite many features. The only feaure I have been missing is the abillity to handle binary files (and that auto-replacement thing...). Other than that, it was perfect to me.

But that 'auto-replacement thing' has become important to me. And for some reason I also find it important that it will handle binary files (even though I wouldn't know what to do with such a file...), so I am looking for something alike Metapad that will auto-replace Notepad, handle binary files, is speedy and both simple and more advanced than Notepad, at the same time, and free and good looking as well.  8)
« Last Edit: February 28, 2007, 04:48 PM by Curt »

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #4 on: February 28, 2007, 04:38 PM »
You do know that you can just change the association of the text file to open in any other program, right? You don't have to actually replace notepad.exe. You must know that though. I also replace the default notepad with notepad2, but I permanently disable file protection before installing XP using nLite.

XPLite lets you turn off file protection although I've never used it. I think WinXP Manager lets you do it also.

I have had this XP Home for 3 days - and knows next to zero about it   :-[

I'll have to study this file protection before I can even imagine I know what and how to do

But thanks a lot for the directions!

edbro

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 426
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #5 on: February 28, 2007, 04:46 PM »
I use Akelpad renamed to notepad. All you have to do is copy it to the dllcache directory first and you should have no problems. I have a batch file that will rename it and copy it to all the required directories automatically.

copy akelpad.exe C:\windows\system32\dllcache\notepad.exe /Y
copy akelpad.exe C:\windows\system32\notepad.exe /Y
copy akelpad.exe C:\windows\notepad.exe /Y

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #6 on: February 28, 2007, 05:09 PM »
All you have to do is

Thanks for taking the time to answer me, edbro!  :Thmbsup:

But first things first. I skipped Metapad because of this very same procedure, you are telling me to follow. I wouldn't know how to make a batch file, or what it is, and I don't know where to find the hidden dll cache folder.

And next there are these two things:
Akelpad won't handle binary files, as far as I understand the text,
and it is just as ugly as Notepad :P

But again; thanks for taking the time to answer me!
« Last Edit: February 28, 2007, 05:11 PM by Curt »

kimmchii

  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 360
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #7 on: February 28, 2007, 05:37 PM »
If you find a good solution and become attached to it, the solution may become your next problem.
~Robert Anthony

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #8 on: February 28, 2007, 06:04 PM »
TED Notepad.

I cannot see that TED will offer to replace Microsoft Notepad.
Have you had it replace Notepad? And if Yes; How? :tellme:


CWuestefeld

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,009
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #10 on: February 28, 2007, 06:21 PM »
Notepad++ has some kind of shim so that, while not physically replacing notepad, N++ will be invoked for (most) uses.

2stepsback

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 110
    • View Profile
    • My "2stepsback" blog - Updated!
    • Read more about this member.
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #11 on: February 28, 2007, 07:20 PM »
Notepad++ has some kind of shim so that, while not physically replacing notepad, N++ will be invoked for (most) uses.
I second that. the latest version of Notepad++ (4.02 IIRC) is really HUGE improvement over previous versions - on the one hand it can be used as a simple notepad replacement.
But on the other, if you change certain Preferences/Settings, it should become an obvious choice for your default programming editor for markup and scripting languages. HTML, XML, CSS, PHP. Apart from those, it supports practically every programming language (at least 3 you have never heard of :) ) and is FAST and has some *exceptional* text manipulation plugins that help you reformat your text (upto 10s of MBs) in *one single command/click*.
The latest version has an explorer sidebar, favorites, hex editor and function list.
The Text FX Viz plugins are mighty impressive - of course, everything is free GPL. If you just want a notepad replacement and you *dislike* feature-packed software, I suggest editor2, amazing stability and several smart, quick features.
Really worth trying out.
Both have instructions on how to replace Notepad as the default system editor.

HTH,
-2stepsback
An apple a day keeps the doctor away. A good deed a day keeps the Devil away.
See http://www.codinghor...archives/000735.html
------------
<a href="http://www.w3schools.com/">W3Schools</a> - A collection of free HTML, CSS, JavaScript, DHTML, XML, XHTML, WAP, ASP, SQL tutorials with lots of working examples and source code.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #12 on: February 28, 2007, 10:10 PM »
Curt, try using Replacer.. i also use metapad & Replacer helps me change the default editor easily..

Replacer version 2.62 is an easy to use system file replacer for Windows 2000 and XP. It safely replaces protected or in-use system files.

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #13 on: April 02, 2008, 01:05 PM »
Is there a true unicode international language supporting notepad replacement? I have turkish named files and some notepad replacements cannot open those files while notepad itself can open them.
« Last Edit: April 02, 2008, 01:07 PM by kartal »

muntealb

  • Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 90
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #14 on: April 02, 2008, 02:20 PM »
Try AkelPad, it should do the job. It is free and open source.

http://akelpad.sourc...rge.net/en/index.php

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #15 on: April 02, 2008, 02:45 PM »
Thanks, it looks nice but it does not have insert date-time :(

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,939
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #16 on: April 02, 2008, 04:54 PM »
Notepad++ is a very able and handy text editor that will fulfill practically all your needs (editing text that is)...there is however one remark, don't try to autoreplace items in EDI messages with a size of 40 kilobyte or higher. It is not able to handle this, while doing the same thing on bigger files that are not EDI messages goes without any problem.

No, I'll stick with my (customized) HTML-Kit editor.  :)

Try EDXOR http://members.ozema...p/freeware/edxor.htm if you want a small and very powerful text/hex editor (50Kbyte) that is free to use.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #17 on: April 02, 2008, 05:12 PM »
Curt: is there any real reason you want to replace notepad.exe , instead of simply changing .txt filetype association to use your other editor? That's a much simpler & cleaner way of handling things...

Shades: EDI messages? What's that?

Notepad++ is a mighty fine editor, and I use it myself. It has a limit on max line-length (at least before things become very messy), but that's a trait of the Scintilla edit control used; it's focus is handling source code well, not dealing with log files of several hundred megabytes :)
- carpe noctem

johnk

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 245
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #18 on: April 02, 2008, 05:51 PM »
Curt: is there any real reason you want to replace notepad.exe , instead of simply changing .txt filetype association to use your other editor? That's a much simpler & cleaner way of handling things...

Changing the .txt file association will of course take care of most uses of Notepad.  The only problem is those programs that are hard-coded to call notepad.exe when they open a text file (there's a surprisingly large number -- that why I did exactly what the original poster is talking about and replaced notepad.exe with metapad.exe).

So, Curt, if you do really want to make sure that the original notepad.exe is never called by another program, then yes, there is no way around the long-winded technique described on Metapad's help pages. Or use a batch file as advised by edbro above.

muntealb

  • Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 90
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #19 on: April 02, 2008, 10:58 PM »
Kartal, you can insert date/time with AkelPad very easily.

Edit>Insert Date (Ctrl+D)

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #20 on: April 03, 2008, 12:03 AM »
ahh, I had a slightly older version that did not have that. I downloaded the new version and it has the date function. Thanks

Perry Mowbray

  • N.A.N.Y. Organizer
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,817
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #21 on: April 03, 2008, 07:28 AM »
PSPad has many different areas of system integration. What you're specifically asking for Curt is achieved by a small 8K exe that you can copy over the top of notepad.exe.

System Integration
Open TXT files
When checked this sets the association for .TXT files to PSPad. otherwise .TXT files are associated with notepad. Note: If Windows notepad.exe is replaced with the version of notepad.exe supplied with PSPad then this option is, effectively, ignored.

Register in System context menu
When Checked you can open any file in PSPad or PSPad HEX editor by clicking right mouse button on it and selecting corresponding item in context menu.

Link on the DeskTop
Adds or removes desktop shortcut for PSPad editor.

Link in the START menu
Adds or removes Start menu shortcut for PSPad editor.

Link in Send To menu
Adds or removes Send To item for PSPad editor in Windows Explorer context menus.

HTML Viewer in IE 5+
When checked, sets PSPad as default HTML viewer for MS Internet Explorer.

HTML Editor for IE
When checked, sets PSPad as default HTML editor for MS Internet Explorer.

HTML Viewer in OPERA
When checked, sets PSPad as default HTML editor for Opera. Note: If OPERA browser is running, this option is disabled!

Editor for Total Commander
Sets PSPad as default editor for Total Commander. Note: TotalCommander is running, this option is disabled! You must have TotalCommander shareware installed for this option to function.


Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,069
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #22 on: April 03, 2008, 08:15 AM »
EditPad Pro (there is a free version EditPadLite) is very good and has a built in set of options to associate different files.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #23 on: April 03, 2008, 06:02 PM »
*shrug* - most apps that are bruteforced to use notepad.exe tend to be installers, and for those I can live with notepad... but hey, if you absolutely insist on replacing notepad.exe, that's fine with me :)
- carpe noctem

mwfuss

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 39
    • View Profile
    • Donate to Member
Re: Any app to auto-replace Notepad ??
« Reply #24 on: April 03, 2008, 06:08 PM »
I have been using NoteTab Pro for some time now and it has an option to replace Notepad. I think that the free version, NoteTab Light has the same option, but I am not certain. I find NoteTab Pro to be a very fine and capable program.

http://www.notetab.com/index.php