Jump to content
新域网络技术论坛

Emeditor菜单关联批处理


Jamers
 Share

Recommended Posts

@echo off
cd /d %~dp0
SET regpath=%cd%
REG ADD HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\EmEditor /ve /t REG_SZ /d {D4D48C93-BDC7-4E76-B530-2E4D13B0150F} /f
REG ADD HKEY_CLASSES_ROOT\CLSID\{D4D48C93-BDC7-4E76-B530-2E4D13B0150F} /ve /t REG_SZ /d EmEditor /f
REG ADD HKEY_CLASSES_ROOT\CLSID\{D4D48C93-BDC7-4E76-B530-2E4D13B0150F}\InProcServer32 /ve /t REG_SZ /d "%regpath%\emedshl64.dll" /f
REG ADD HKEY_CLASSES_ROOT\CLSID\{D4D48C93-BDC7-4E76-B530-2E4D13B0150F}\InProcServer32 /v ThreadingModel /t REG_SZ /d Apartment /f
REG ADD HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\EmEditor /ve /t REG_SZ /d {D4D48C93-BDC7-4E76-B530-2E4D13B0150F} /f
echo 关联操作已完成,您可以正常使用关联菜单了。
pause 按任意键结束。

用管理员身份运行即可!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...