Created
August 21, 2017 02:20
-
-
Save ityouknow/15e7795fbf2ba8635ef6c17325499a97 to your computer and use it in GitHub Desktop.
win10 右键cmd当前目录脚本。
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 | |
; Created by: Shawn Brink | |
; http://www.sevenforums.com | |
; Tutorial: http://www.sevenforums.com/tutorials/47415-open-command-window-here-administrator.html | |
[-HKEY_CLASSES_ROOT\Directory\shell\runas] | |
[HKEY_CLASSES_ROOT\Directory\shell\runas] | |
@="Open cmd here as Admin" | |
"HasLUAShield"="" | |
[HKEY_CLASSES_ROOT\Directory\shell\runas\command] | |
@="cmd.exe /s /k pushd \"%V\"" | |
[-HKEY_CLASSES_ROOT\Directory\Background\shell\runas] | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas] | |
@="Open cmd here as Admin" | |
"HasLUAShield"="" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command] | |
@="cmd.exe /s /k pushd \"%V\"" | |
[-HKEY_CLASSES_ROOT\Drive\shell\runas] | |
[HKEY_CLASSES_ROOT\Drive\shell\runas] | |
@="Open cmd here as Admin" | |
"HasLUAShield"="" | |
[HKEY_CLASSES_ROOT\Drive\shell\runas\command] | |
@="cmd.exe /s /k pushd \"%V\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment