该回复被 roc7roc 奖励 20 点无忧币
此回复于2007-11-11 23:58被 fs999 评为最佳答案
网上搜索一下,多得是。
假如是 XP 下 的 cmd
格式: Reg + 操作 +路径 [常见的操作如增加:Add ; 删除 Delete]
要得到有关某个操作的帮助,请键入:
REG QUERY /?
REG ADD /?
REG DELETE /?
REG COPY /?
REG SAVE /?
REG RESTORE /?
REG LOAD /?
REG UNLOAD /?
REG COMPARE /?
REG EXPORT /?
REG IMPORT /?
REG FLAGS /?
对以前的 DOS ,我记得好像 是:
假如是添加项,键,键值,直接写上路径就好了
例如
reg add "HKLM\SOFTWARE\MICROSOFT\WINDOWS NT\CURRENTVERSION\Winlogon\Shell" /v Explorer.exe /d Explorer.exe
请注意不要忽略双引号
另外, 利用 *.reg 文件会更方便
reg /s A.reg (假如文件名是 A.reg )
A.reg 则可以用 记事本编写,记得保存为 .reg
改文件的格式如下: ( 注意: Windows Registry Editor Version 5.00 下空一行)
QUOTE:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"ehTray.exe"="C:\\Windows\\ehome\\ehTray.exe"
增加
QUOTE:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"ehTray.exe"=" "
删除键值
QUOTE:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"ehTray.exe"=-
删除 ehTray.exe 键
QUOTE:
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
删除整个 Run 项
[ 本帖最后由 fs999 于 2007-10-29 16:49 编辑 ]