Skip to content

Instantly share code, notes, and snippets.

@1ocalhost
Last active December 12, 2018 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1ocalhost/ab315ef3a61d658d451b3edf7e8f6d78 to your computer and use it in GitHub Desktop.
Save 1ocalhost/ab315ef3a61d658d451b3edf7e8f6d78 to your computer and use it in GitHub Desktop.
Add “Copy Path” to right click menu in Windows Explorer
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\Copy Path\command]
@="mshta vbscript:CreateObject(\"wscript.shell\").Run(\"cmd /c chcp 65001 && echo | set /p x=\"\"%1\"\" | clip\",0)(window.close)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment