ah-shellext / CopyPathMenu

A Windows extension that is used to copy file(s)'s path through context menu.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CopyPathMenu

  • A Windows extension that is used to copy file(s)'s path through context menu (in Japanese).
  • Environment: Windows 10 20H2 x64 Visual Studio 2019 msvc2019

Register

  • Open cmd as administrator, and you may need to restart explorer.exe.
Register.bat
# or execute the following commands

regsvr32 x64\Release\CopyPathMenu.dll
; Use Register.reg

[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\CopyPathMenu]
@="{7a73e28f-7fd5-436e-bdc0-8f25fb8ede0f}"

[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\CopyPathMenu]
@="{7a73e28f-7fd5-436e-bdc0-8f25fb8ede0f}"

[HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\CopyPathMenu]
@="{7a73e28f-7fd5-436e-bdc0-8f25fb8ede0f}"

[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\CopyPathMenu]
@="{7a73e28f-7fd5-436e-bdc0-8f25fb8ede0f}"

Unregister

  • Open cmd as administrator.
Unregister.bat
# or execute the following commands

regsvr32 /u x64\Release\CopyPathMenu.dll
  • Remove context menu from registry.
; Use Unregister.reg

[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\CopyPathMenu]

[-HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\CopyPathMenu]

[-HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\CopyPathMenu]

[-HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\CopyPathMenu]

Screenshot

screenshot1 screenshot2

References

About

A Windows extension that is used to copy file(s)'s path through context menu.


Languages

Language:C++ 87.9%Language:C 7.6%Language:Windows Registry Entries 4.0%Language:Batchfile 0.5%