zoukankan      html  css  js  c++  java
  • 给右键菜单添加:以管理身份用记事本打开文件。

    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\dllfile\shell]
    
    [HKEY_CLASSES_ROOT\dllfile\shell\Register]
    
    [HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
    @="D:\\MyProgram\\SysinternalsSuite\\sudo.exe regsvr32 \"%1\""
    
    [HKEY_CLASSES_ROOT\dllfile\shell\unRegister]
    
    [HKEY_CLASSES_ROOT\dllfile\shell\unRegister\command]
    @="D:\\MyProgram\\SysinternalsSuite\\sudo.exe regsvr32 /u \"%1\""
    
    [HKEY_CLASSES_ROOT\ocxfile\shell]
    
    [HKEY_CLASSES_ROOT\ocxfile\shell\Register]
    
    [HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]
    @="D:\\MyProgram\\SysinternalsSuite\\sudo.exe regsvr32 \"%1\""
    
    [HKEY_CLASSES_ROOT\ocxfile\shell\unRegister]
    
    [HKEY_CLASSES_ROOT\ocxfile\shell\unRegister\command]
    @="D:\\MyProgram\\SysinternalsSuite\\sudo.exe regsvr32 /u \"%1\""
    
    [HKEY_CLASSES_ROOT\*\shell]
    
    [HKEY_CLASSES_ROOT\*\shell\notepad from administrator]
    @="Notepad from Admin"
    
    [HKEY_CLASSES_ROOT\*\shell\notepad from administrator\command]
    @="D:\\MyProgram\\SysinternalsSuite\\sudo.exe C:\\Windows\\System32\\notepad.exe \"%1\""
    
    [HKEY_CLASSES_ROOT\folder\shell\cmd]
    @="Command from Admin"
    
    [HKEY_CLASSES_ROOT\folder\shell\cmd\command]
    @="D:\\MyProgram\\SysinternalsSuite\\sudo.exe C:\\Windows\\System32\\cmd.exe /k cd \"%1\""

    所用到的sudo.exe:下载

    Tty725 说:
    欢迎转载,但请注明内容的来源或URL;
    [转]”篇章,必须保留原始来源且勿添加本blog指向。
  • 相关阅读:
    css 父层 透明 子层不透明Alpha
    ecshop循环foreach,iteration,key,index
    ecshop变量介绍
    ecshop 获取某个商品的 所有订单信息 或者销量
    echosp 销量排行 新增实际价格
    ecshop后台模板设置中将非可编辑区改为可编辑区
    ecshop 影响全局的标量lib_main.php
    个人js
    fixed的left:50%,漂浮
    js返回顶部
  • 原文地址:https://www.cnblogs.com/Tty725/p/2073186.html
Copyright © 2011-2022 走看看