Add Open CMD On Windows Right Click

  • 复制如下代码到txt文件中,重命名为.reg 并执行。

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    Add Open CMD On Windows Right Click
    [-HKEY_CLASSES_ROOT\Directory\shell\runas]
    [HKEY_CLASSES_ROOT\Directory\shell\runas]
    @="Open CMD"
    "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"
    "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"
    "HasLUAShield"=""
    [HKEY_CLASSES_ROOT\Drive\shell\runas\command]
    @="cmd.exe /s /k pushd \"%V\""
上一篇