Searching the registry from a command line in Windows 2000 Professional
Windows 2000 Professional中用命令行搜索注册表
by Jim Boyce
翻译:purpleendurer
2006-02-07第1版
Keywords: Data mining and analysis | Data warehousing/business intelligence | Microsoft Windows | Windows 2000
关键字:数据探掘与分析 | 数据仓库/商业智能 | Microsoft Windows | Windows 2000
Takeaway:
Jim Boyce shows us a command-line registry search alternative that will save you time and effort when working with Windows 2000 Professional.
概述:
Jim Boyce为我们展示了一个命令行注册表搜索可选方案,当我们使用Windows 2000专业版时,它将节约您的时间和力气。
If you work with the registry at all, it is likely that you have spent some time searching through the registry in Registry Editor, looking for keys or values. The registry can contain thousands of elements, so finding the one you seek can be time-consuming.
如果您基本上要与注册表打交道,其情形很可能是:在注册表编辑器里花费一些时间搜索。注册表可能包含数千个元素,以致找到你所寻的东东可能是费时的。
<purpleendurer注:1。it is likely that 很可能
2。thousands of 数千的>
If you are looking for a command-line alternative to registry search, whether as an alternative to Registry Editor or to integrate in batch files or scripts, the Windows 2000 Resource Kit has a solution for you.
如果您正在寻找一个命令行注册表搜索可选方案,无论是注册表编辑器或集成在批处理文件或脚本的可选方案,Windows 2000资源工具包为你准备了一个解决方案。
The Regfind.exe tool enables you to search the registry data, key names, or value names on the local or a remote computer. Regfind.exe supports numerous arguments to help you refine the registry search, such to search for specific types of values or malformed REG_SZ and REG_EXPAND_SZ values.
Regfind.exe工具使您能搜索本地或远程计算机中的注册表数据,键名,或数值名。Regfind.exe支持为数众多的参数来帮助您简化注册表搜索,如搜索特定类型的数值或不合式REG_SZ和REG_EXPAND_SZ数值。
<purpleendurer注:1。malformed:a. 难看的,畸形的;[计算机] 不合式>
Besides providing search capability, Regfind.exe also enables you to replace values in the registry. This capability can be particularly useful for replacing multiple instances of a value located in different subkeys. It is a good idea to perform a search in the registry first, without using the replace argument to identify what Regfind.exe will change. Also, it is recommended that you back up the pertinent parts of the registry by exporting the key or subkey to a registry script file.
除了提供搜索能力外,Regfind.exe也使你能替换注册表中数值。该功能在替换多个位于不同子键的裸体值特别有用。首先在注册表中执行一次不带替换参数的搜索是个好主意。同样,建议您通过导出键或子键到注册表描述文件的方法来备份注册中相关的部分。
英文来源:http://techrepublic.com.com/5100-10877_11-6032293.html?tag=nl.e030