zoukankan      html  css  js  c++  java
  • window 注册表上下文菜单如何配置?

    注册表结构?

    Keys Abbreviation Description 描述
    HKEY_CLASSES_ROOT HKCR Stores file association and COM object registretion 存储文件关联和COM对象注册
    HKEY_CURRENT_USER HKCU Stores data associated with the account currently logged on 存储与当前登录的帐户相关的数据
    HKEY_LOCAL_MACHINE HKLM Stores system-related information 存储系统相关信息
    HKEY_USERS HKU Stores information about all the accounts on the machine 存储有关机器上所有帐户的信息
    HKEY_CURRENT_CONFIG HKCC Stores information about the current machine profile 存储有关当前机器配置文件的信息

    表中的缩写一般用来编写脚本和 INF文件。

    1. HKEY_CLASSES_ROOT 此分支包含所有文件关联映射,以支持Windows用户界面的拖放功能,OLE信息,Windows快捷方式和COM核心方面。
    2. HKEY_CURRENT_USER 此分支链接到适合当前登录到PC的用户的HKEY_USERS部分,并包含诸如登录名,桌面设置和开始菜单设置等信息。
    3. HKEY_LOCAL_MACHINE 此分支包含有关特定PC上的硬件,软件和其他首选项的计算机特定信息,此信息用于登录到此计算机的所有用户。
    4. HKEY_USERS 此分支包含计算机每个用户的个人首选项,每个用户都由位于主分支下的SID子密钥表示。
    5. HKEY_CURRENT_CONFIG 此分支链接到适合当前硬件配置的HKEY_LOCAL_MACHINE部分。
    6. HKEY_DYN_DATA 此分支指向HKEY_LOCAL_MACHINE的一部分,用于Windows的即插即用功能,此部分是动态的,并且将随着设备添加和从系统中移除而改变。

    注册表通用数据类型

    Data type Description
    REG_BINARY Binary data.Usually in hexadecimal notation.An example is 0xA8
    REG_DWORD Double word(32 bits).Can be edited in either hexadecimal or decimal
    REG_SZ A string.Figure 1 shows examples in the right pane.

    注册表文件存储在哪里?

    你可以在 WindowsSystem32Config 文件夹中找到他们中的大部分

    查看 SAM、SECURITY、SOFTWARE、SYSTEM 文件,他们对应于 HKEY_LOCAL_MACHINE 文件夹下的相同键。

    https://www.howtogeek.com/howto/windows-vista/how-to-clean-up-your-messy-windows-context-menu/

  • 相关阅读:
    【Codeforces 923A】Primal Sport
    【Codeforces 924C】Riverside Curio
    【Codeforces 682C】Alyona and the Tree
    【Codeforces 1118D1】Coffee and Coursework (Easy version)
    【Codeforces 493C】Vasya and Basketball
    【Codeforces 598D】Igor In the Museum
    js 时间格式化
    C#自定义规则对比两个集合的对象是否相等
    VUE的组件DEMO
    js 去掉指定符号的字符串做法
  • 原文地址:https://www.cnblogs.com/cheungxiongwei/p/9003385.html
Copyright © 2011-2022 走看看