2010-11-27 02:23:20 PST
save code below to your notepad++ folder as cm.bat, run it, then u get 2 file, install with ins.reg, uninstall with uins.reg (modify "Notepad++" to change the word at your context menu)
echo off
SET pth=%CD%
SET pth=%pth:\=\\%
> ".\ins.reg" ECHO Windows Registry Editor Version 5.00
>>".\reg.reg" ECHO.
>>".\ins.reg" ECHO [-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Notepad++]
>>".\ins.reg" ECHO [HKEY_CLASSES_ROOT\*\shell\notepad++]
>>".\ins.reg" ECHO @="
Notepad++"
>>".\ins.reg" ECHO "Icon"="\"%pth%\\notepad++.exe\""
>>".\ins.reg" ECHO [HKEY_CLASSES_ROOT\*\shell\notepad++\command]
>>".\ins.reg" ECHO @="\"%pth%\\notepad++.exe\" \"%1\""
cls
> ".\uins.reg" ECHO Windows Registry Editor Version 5.00
>>".\uins.reg" ECHO.
>>".\uins.reg" ECHO [-HKEY_CLASSES_ROOT\*\shell\notepad++]
>>".\uins.reg" ECHO [-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Notepad++]