zoukankan      html  css  js  c++  java
  • 给DLL/OCX文件的右键菜单中添加注册与反注册项

    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\""

    Tty725 说:
    欢迎转载,但请注明内容的来源或URL;
    [转]”篇章,必须保留原始来源且勿添加本blog指向。
  • 相关阅读:
    Maven项目上总有一个小红叉问题
    Maven web项目创建
    MogileFS操作指令
    MogileFS安装
    mongo与spring集合
    linux上启动tomcat报错:Failed to read schema document 'http://www.springframework.org/schema/data/mongo/spring-mongo-2.0.xsd
    数据导入导出
    备份和恢复
    身份验证
    Mongo DB分片
  • 原文地址:https://www.cnblogs.com/Tty725/p/3034355.html
Copyright © 2011-2022 走看看