Jump to content
新域网络技术论坛
Sign in to follow this  
Jamers

Emeditor菜单关联批处理

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 按任意键结束。

用管理员身份运行即可!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...