Created
October 23, 2017 12:46
-
-
Save luismrsilva/295131fe98b7c3a707769dcc90d7fc36 to your computer and use it in GitHub Desktop.
Add "Cmd Here" and "Copy Path" to Windows Shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; copy path for files | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\copypath] | |
@="Copy Path" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\copypath\command] | |
@="cmd.exe /c \"echo %1 | clip\"" | |
; copy path for folders | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\copypath] | |
@="Copy Path" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\copypath\command] | |
@="cmd.exe /c \"echo %1 | clip\"" | |
; open cmd in folder | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmdhere] | |
@="Cmd Here" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmdhere\command] | |
@="cmd.exe /k pushd %1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment