I guess that you want to add a shortcut to the "contextmenu". I had tried some ways ,but I couldn't do it.
Now I use an alternative method that add this shortcut to the "sendto" menu. If you have better way to do it, please let me know.
thanks
yornway
2004-4-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can do a manual registry manipulation by editing the list of filetypes.
Change all entries voor np-- to notepad++
I did this and it works 80% of the time now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For me on Win98 I renamed original Notepad.exe to eg Notepad.exe.org and copy all content from Notepad++ into windir where Notepad.exe.org is. Now rename Notepad++.exe to Notepad.exe and voila!
It's not the most beautifull solution but it works, for as long Notepad++ delivers .txt associations - then I delete Notepad++ from Windir and put it in it's own dir :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just to remind you, modifying the registry should be done with caution. Make sure you know what you are doing before playing with the registry. Also make sure you back up the registry before playing with it.
Mark Bryan Yu
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What's the problem with choosing several files? I've tried it in my PC (winXP).... i selected multiple file by holding down CTRL while selecting files. Right-click and choose Notepad++ from the context menu... and Notepad++ opened all files with no problems.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
However, I have the problem with Winxp at home:
when I choose several files (CTRL + mouse click), let's say 5 files, then Right-click and choose Notepad++ from the context menu, there're 5 files opened in 5 launched instances of Notepad++ ! (each instance has one opened file)
On the other hand, if I choose the sendto->Notepad++ from the context menu, it works fine (5 opened files in one intance).
Any idea?
Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
old windows notepad. it sucks.
thanks
What's your message?
is it "should do an registry input to replace the old windows notepad. it sucks." or
"old windows notepad. it sucks." ?
Don
I guess that you want to add a shortcut to the "contextmenu". I had tried some ways ,but I couldn't do it.
Now I use an alternative method that add this shortcut to the "sendto" menu. If you have better way to do it, please let me know.
thanks
yornway
2004-4-12
should replace windows notepad. you're rocks & your notepad, too.
-khang
You can do a manual registry manipulation by editing the list of filetypes.
Change all entries voor np-- to notepad++
I did this and it works 80% of the time now.
For me on Win98 I renamed original Notepad.exe to eg Notepad.exe.org and copy all content from Notepad++ into windir where Notepad.exe.org is. Now rename Notepad++.exe to Notepad.exe and voila!
It's not the most beautifull solution but it works, for as long Notepad++ delivers .txt associations - then I delete Notepad++ from Windir and put it in it's own dir :-)
it's not really a good idea to move Notepad++ into another directory.
The intetion to name the program "Notepad++" was just to reveal its light weight, Notepad++ is more source editor than a simple notepad.
I'll try to do anyway the functionality to associate the file extensions.
Don
Thanks to Mark Bryan Yu,
we can have the Notepad++ shortcut on the contextmenu of Explorer by importing a, say "npp.reg", reg file. Here we go :
1. save the following text as "npp.reg" :
[HKEY_CLASSES_ROOT\*\shell\Notepad++\Command]
@="D:\\WinAppz\\Notepad++\\notepad++.exe \"%1\""
2. Modify "D:\\WinAppz\\Notepad++\\notepad++.exe" in order to suit your npp path, then save it.
3. In the Explorer, right click on the file "npp.reg", then choose "Merge", et voila!
Don
Just to remind you, modifying the registry should be done with caution. Make sure you know what you are doing before playing with the registry. Also make sure you back up the registry before playing with it.
Mark Bryan Yu
What? You mean you can't just start removing things from it like I'm doing right n25637#!8b... LOST CONNECTION
a slashdotter? :)
Yeah. That's what happens when you spend wayyyy too much time on /.! :)
Mark,
the reg key works fine, except when I choose several files to open from explorer. Do you have the remedy?
Thanx
Don
What's the problem with choosing several files? I've tried it in my PC (winXP).... i selected multiple file by holding down CTRL while selecting files. Right-click and choose Notepad++ from the context menu... and Notepad++ opened all files with no problems.
Yes, with Win2000 in my office it woks fine also.
However, I have the problem with Winxp at home:
when I choose several files (CTRL + mouse click), let's say 5 files, then Right-click and choose Notepad++ from the context menu, there're 5 files opened in 5 launched instances of Notepad++ ! (each instance has one opened file)
On the other hand, if I choose the sendto->Notepad++ from the context menu, it works fine (5 opened files in one intance).
Any idea?
Don