|
yjjbmk
新手上路

积分 10
发帖 4
注册 2006-10-20
状态 离线
|
『楼 主』:
在DOS下如何通过批处理修改Windows XP的注册表?
使用 LLM 解释/回答一下
我的电脑是DOS 和Windows XP系统共存,想编写一个批处理,在DOS下运行以修改XP下的注册表,请问,如何编写啊?
我曾试着使用Regedit命令,但在DOS下,XP下自带的Regedit命令不能在DOS下运行,请各位大侠多多帮忙啊!
My computer has both DOS and Windows XP systems coexisting. I want to write a batch file to run under DOS to modify the registry under XP. How to write it? I once tried to use the Regedit command, but under DOS, the Regedit command built-in under XP cannot run under DOS. Please help, great experts!
|
|
2006-10-27 09:43 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
DOS下面不能用regedit命令的么?
Can't the regedit command be used under DOS?
|
|
2006-10-27 10:11 |
|
|
yjjbmk
新手上路

积分 10
发帖 4
注册 2006-10-20
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
regedit命令不能使用!
我进入C:\Windows目录,键入regedit,提示说该命令不能在DOS下运行!
The regedit command cannot be used!
I entered the C:\Windows directory, typed regedit, and it prompted that this command cannot run under DOS!
|
|
2006-10-28 04:07 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
那就只有下载第三方DOS下面的注册表工具了。
Then you can only download third-party registry tools under DOS.
|
|
2006-10-28 04:51 |
|
|
xuantian
高级用户
   
积分 587
发帖 282
注册 2006-4-10
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
DOS实模式下修改XP的注册表,不是不能,是太不稳当了吧?
Modifying the registry of XP in real mode of DOS, it's not impossible, but it's just too unstable, right?
|
|
2006-10-28 12:49 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
记得貌似 Win98 自带的 Regedit 可以修改 XP 注册表,而且支持 regedit /c 重建
I remember that it seems that Win98's built-in Regedit can modify the XP registry, and it supports regedit /c to rebuild.
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-10-28 23:15 |
|
|
ooaf
中级用户
  
积分 313
发帖 162
注册 2007-4-2
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
C:\af>reg /?
Windows 控控制制台台注注册册表表工工具具 - 版版本本 3.0
版版权权所所有有 (C) Microsoft Corp. 1981-2001. 保保留留所所有有权权利利。。
REG Operation [参参数数列列表表]
Operation [ QUERY | ADD | DELETE | COPY |
SAVE | LOAD | UNLOAD | RESTORE |
COMPARE | EXPORT | IMPORT ]
返返回回代代码码: (除除了了 REG COMPARE)
0 - 成成功功
1 - 失失败败
要要得得到到有有关关某某个个操操作作的的帮帮助助,,请请键键入入:
REG Operation /?
例例如如:
REG QUERY /?
REG ADD /?
REG DELETE /?
REG COPY /?
REG SAVE /?
REG RESTORE /?
REG LOAD /?
REG UNLOAD /?
REG COMPARE /?
REG EXPORT /?
REG IMPORT /?
C:\af>reg /?
Windows Registry Editor Version 3.0
Copyright (C) Microsoft Corp. 1981-2001. All rights reserved.
REG Operation
Operation
Return codes: (except REG COMPARE)
0 - Success
1 - Failure
To get help on a specific operation, type:
REG Operation /?
For example:
REG QUERY /?
REG ADD /?
REG DELETE /?
REG COPY /?
REG SAVE /?
REG RESTORE /?
REG LOAD /?
REG UNLOAD /?
REG COMPARE /?
REG EXPORT /?
REG IMPORT /?
|
|
2007-4-2 08:20 |
|
|
6622186
高级用户
   
积分 894
发帖 411
注册 2007-2-17
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
ghregedt 可以, 似乎不太好用, 不过比没有强
|

@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul
|
|
2007-4-21 01:23 |
|
|
zhoushijay
高级用户
    Autowalk
积分 845
发帖 375
注册 2007-3-3
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
ECHO 把它如 *.reg
再运行 *.reg
pause
不知道这样可不可以
ECHO Put it like *.reg
Then run *.reg
pause
I don't know if this can work
|
|
2007-4-21 01:48 |
|
|
my3439955
中级用户
  
积分 272
发帖 99
注册 2006-6-2
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
纯DOS下根本不存在注册表这一概念,根本不存在一个具体的注册表文件
系统的regedit.exe是32位应用程序,自然是不能在16位DOS环境运行
注册表中包含的资料并非是一个具体的文件
即便有具体文件,里面的结构对我们来说也是不可识别的
在Windows下微软提供了专门的函数才使我们可以操作注册表
很多内容都是直接加载到内存中的
个人认为,纯DOS下不可能存在对注册表的操作.
Last edited by my3439955 on 2007-4-21 at 10:07 PM ]
In pure DOS, there is no concept of the registry at all, and there is no specific registry file at all.
The system's regedit.exe is a 32-bit application, so naturally it cannot run in the 16-bit DOS environment.
The information contained in the registry is not a specific file.
Even if there is a specific file, the structure inside is not recognizable to us.
Under Windows, Microsoft provides special functions that allow us to operate the registry.
Many contents are directly loaded into memory.
Personally, I think that there is no possibility of operating the registry in pure DOS.
Last edited by my3439955 on 2007-4-21 at 10:07 PM ]
|

X5O!P%@AP |
|
2007-4-21 09:07 |
|
|
waynebeat
初级用户
 
积分 84
发帖 28
注册 2006-5-3
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
在dos下改注册表,只有在98上可以实现
不过可以备份一下注册表的原文件:c:\windows\system32\config\ 里的一些相关文件
和%userprofile%下的ntuser.*
一但系统出什么问题,可以用它们来修复
Modifying the registry under DOS can only be achieved on Windows 98.
However, you can back up some relevant files in the c:\windows\system32\config\ directory and ntuser.* under %userprofile%. In case there is any problem with the system, you can use them to repair.
|
|
2007-4-21 13:44 |
|
|
lihuisamsung
新手上路

积分 4
发帖 2
注册 2008-10-13
状态 离线
|
|
2008-10-13 09:04 |
|