UltraEdit pro
用批處理添加:需要用到兩個文件 添加右鍵.bat 和 right.inf ,這兩個文件需放在UltraEdit軟件目錄,,刪除的批處理同理
(復(fù)制下面內(nèi)容到txt文檔,,另存為添加右鍵.bat 文件)
添加右鍵.bat 內(nèi)容:
------------------------------------------------我的美麗的分隔符----------------------------------------------------------
@ECHO off
cls
color 0A
ECHO UltraEdit-32 綠色免安裝版之右鍵添加
ECHO ==========================================
pushd "%~dp0"
rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 .\right.inf
popd
ECHO OK,搞定...成功啦^_^!
ECHO 本腳本程序只是在第一次使用時需要運行一次
ECHO 運行一次后就能正常使用右鍵菜單了
ECHO 準(zhǔn)備退出...
ECHO ==========================================
pause
exit
------------------------------------------------我的美麗的分隔符----------------------------------------------------------
right.inf文件內(nèi)容:
------------------------------------------------我的美麗的分隔符----------------------------------------------------------
[Version]
Signature="$CHICAGO$"
[email protected], 2006
[DefaultInstall]
AddReg=Ultraedit_AddReg
[DefaultUnInstall]
DelReg=Ultraedit_DelReg
[Ultraedit_AddReg]
hkcr,"*\shellex\ContextMenuHandlers\UltraEdit-32",,,"{b5eedee0-c06e-11cf-8c56-444553540000}"
hkcr,"CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}\InProcServer32","ThreadingModel",,"Apartment"
hkcr,"CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}\InProcServer32",,,"%01%\ue32ctmn.dll"
[Ultraedit_DelReg]
hklm,"SOFTWARE\Classes\*\shellex\ContextMenuHandlers\UltraEdit-32"
hklm,"SOFTWARE\Classes\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}"
[Strings]
------------------------------------------------我的美麗的分隔符----------------------------------------------------------
復(fù)制上面內(nèi)容到txt文檔,,另存為right.inf文件)
批處理刪除:
去除右鍵.bat:
------------------------------------------------我的美麗的分隔符----------------------------------------------------------
@ECHO off
cls
color 0A
ECHO UltraEdit-32 綠色免安裝版之右鍵清除
ECHO ==========================================
pushd "%~dp0"
rundll32 setupapi.dll,InstallHinfSection DefaultUnInstall 128 .\right.inf
popd
ECHO OK,,搞定...右鍵成功清除啦^_^!
ECHO 想卸載UltraEdit文件的,可以把整個目錄刪除掉了
ECHO 準(zhǔn)備退出...
ECHO ==========================================
pause
exit
------------------------------------------------我的美麗的分隔符----------------------------------------------------------
復(fù)制上面內(nèi)容到txt文檔,另存為去除右鍵.bat文件
用注冊表添加的方法:復(fù)制內(nèi)容另存為reg文件
添加右鍵.reg :
------------------------------------------------我的美麗的分隔符----------------------------------------------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\UltraEdit-32]
@="{b5eedee0-c06e-11cf-8c56-444553540000}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}]
@="UltraEdit-32"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}\InProcServer32]
@="E:\\ROM定制\\ROM-tool\\UltraEdit-32\\ue32ctmn.dll"
"ThreadingModel"="Apartment"
------------------------------------------------我的美麗的分隔符----------------------------------------------------------
另存為添加右鍵.reg文件,,其中@="E:\\ROM定制\\ROM-tool\\UltraEdit-32\\ue32ctmn.dll" 須改成軟件所在目錄,,注意用雙斜杠\\
另外一個方法:這個發(fā)現(xiàn)可以放在菜單頂部,不錯
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\UltraEdit\command]
@="E:\\ROM定制\\ROM-tool\\UltraEdit-32\\Uedit32.exe %1"
去除右鍵.reg :
------------------------------------------------我的美麗的分隔符----------------------------------------------------------
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\UltraEdit-32]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}]
------------------------------------------------我的美麗的分隔符----------------------------------------------------------
復(fù)制上面內(nèi)容到txt文檔,,另存為去除右鍵.reg文件復(fù)制上面內(nèi)容到txt文檔
呵呵,,是不是很簡單哈,確實還不懂上傳有附件:UltraEdit添加刪除右鍵菜單