zoukankan      html  css  js  c++  java
  • win10右键管理员/非管理员打开cmd

    //管理员
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOTDirectoryshellOpenCmdHere]
    @="Cmd"
    "Icon"="cmd.exe"
    
    [HKEY_CLASSES_ROOTDirectoryshellOpenCmdHerecommand]
    @="cmd.exe /s /k pushd "%V""
    
    [HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHere]
    @="Cmd"
    "Icon"="cmd.exe"
    
    [HKEY_CLASSES_ROOTDirectoryBackgroundshellOpenCmdHerecommand]
    @="cmd.exe /s /k pushd "%V""
    
    [HKEY_CLASSES_ROOTDriveshellOpenCmdHere]
    @="Cmd"
    "Icon"="cmd.exe"
    
    [HKEY_CLASSES_ROOTDriveshellOpenCmdHerecommand]
    @="cmd.exe /s /k pushd "%V""
    
    [HKEY_CLASSES_ROOTLibraryFolderackgroundshellOpenCmdHere]
    @="Cmd"
    "Icon"="cmd.exe"
    
    [HKEY_CLASSES_ROOTLibraryFolderackgroundshellOpenCmdHerecommand]
    @="cmd.exe /s /k pushd "%V""
    //非管理员
    Windows Registry Editor Version 5.00   
          
    [-HKEY_CLASSES_ROOTDirectoryshell
    unas]  
      
    [HKEY_CLASSES_ROOTDirectoryshell
    unas]  
    @="Cmd as Admin"    
    "HasLUAShield"="" 
    "Icon"="cmd.exe" 
          
    [HKEY_CLASSES_ROOTDirectoryshell
    unascommand]     
    @="cmd.exe /s /k pushd "%V""  
          
    [-HKEY_CLASSES_ROOTDirectoryBackgroundshell
    unas]  
          
    [HKEY_CLASSES_ROOTDirectoryBackgroundshell
    unas]  
    @="Cmd as Admin"  
    "HasLUAShield"=""  
    "Icon"="cmd.exe"
          
    [HKEY_CLASSES_ROOTDirectoryBackgroundshell
    unascommand]  
    @="cmd.exe /s /k pushd "%V""  
          
    [-HKEY_CLASSES_ROOTDriveshell
    unas]  
    [HKEY_CLASSES_ROOTDriveshell
    unas]  
    @="Cmd as Admin"  
    "HasLUAShield"=""  
    "Icon"="cmd.exe"
    
    [HKEY_CLASSES_ROOTDriveshell
    unascommand]  
    @="cmd.exe /s /k pushd "%V""
  • 相关阅读:
    二维空间轨迹聚类
    Java 格式化输出
    Linux 小笔记
    Nginx ServerName 配置说明(转)
    LVS
    Nginx + tomcat 实现简单集群(基于反向代理方式)
    mysql 外键
    tomcat 日志输出
    tomcat https
    SpringMVC表单标签简介
  • 原文地址:https://www.cnblogs.com/pbblogs/p/12183106.html
Copyright © 2011-2022 走看看