Created
June 2, 2016 08:56
-
-
Save Eun/227d4bd5a8ccde1a9a5d1a42ccab01ce to your computer and use it in GitHub Desktop.
"Open command window here" for files
This file contains 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 | |
[HKEY_CLASSES_ROOT\*\shell\cmd] | |
@="@shell32.dll,-8506" | |
"Extended"="" | |
[HKEY_CLASSES_ROOT\*\shell\cmd\command] | |
@="cmd.exe /s /k \"pushd \"%%HOMEDRIVE%%\\%%HOMEPATH%%\" & echo >%%TEMP%%\\cmd.vbs set shell = CreateObject(\"WScript.Shell\"):shell.SendKeys \"%1\":CreateObject(\"Scripting.FileSystemObject\").DeleteFile(Wscript.ScriptFullName) & %%TEMP%%\\cmd.vbs\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment