zoukankan      html  css  js  c++  java
  • (win7/8/10)鼠标右键添加按下SHIFT键时弹出带管理员权限的“在此处打开命令窗口”

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOTDirectoryBackgroundshell unas]
    @="@shell32.dll,-8506"
    "HasLUAShield"=""
    "Extended"=""

    [HKEY_CLASSES_ROOTDirectoryBackgroundshell unascommand]
    @="cmd.exe /s /k pushd "%V""

    [HKEY_CLASSES_ROOTDirectoryshell unas]
    @="@shell32.dll,-8506"
    "NoWorkingDirectory"=""
    "HasLUAShield"=""
    "Extended"=""

    [HKEY_CLASSES_ROOTDirectoryshell unasCommand]
    @="cmd.exe /s /k pushd "%V""
    "IsolatedCommand"="cmd.exe /c takeown /f "%1" /r /d y && icacls "%1" /grant administrators:F /t"

    [HKEY_CLASSES_ROOTDriveshell unas]
    @="@shell32.dll,-8506"
    "HasLUAShield"=""
    "Extended"=""

    [HKEY_CLASSES_ROOTDriveshell unascommand]
    @="cmd.exe /s /k pushd "%V""

  • 相关阅读:
    JVM内存的划分
    劝学
    java中switch的用法
    方法传递参数的分类
    ajax缓存机制
    vuex
    keep-alive
    路由滚动行为scrollBehavior
    vue等
    防止刷新路由后参数消失
  • 原文地址:https://www.cnblogs.com/mahocon/p/5397560.html
Copyright © 2011-2022 走看看