China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 23:14
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » About modifying the registry with batch commands! View 3,516 Replies 19
Floor 16 Posted 2006-04-13 11:38 ·  中国 海南 海口 电信
初级用户
Credits 24
Posts 8
Joined 2006-04-10 23:46
20-year member
UID 53639
Status Offline
Thanks to the LZ... benefited a lot~~~
Floor 17 Posted 2006-04-15 00:38 ·  中国 山西 太原 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline

───────────────── Moderation Record ─────────────────
Performed by: Will Sort
Operation: Merge threads: "20054 - Misunderstandings in Using Batch Commands to Manipulate the Registry"
Explanation: The two threads have direct contextual connections
Punishment: Since the threads have original significance and high value, no point penalty is imposed
───────────────── Moderation Record ─────────────────


Re ken0212:

It is guessed that there may be the following two reasons why the .REG file generated by batch processing cannot be completely and normally imported:

1. There are some special characters in the registry key or string value that will affect the echo output;

2. The import method of regedit/s may not be fully compatible with certain types of key values. In the XP environment, you can consider trying the method of regedit ok.reg.

Therefore, it is still necessary for you to post which key values cannot be imported, which is conducive to the judgment and solution of the problem. Of course, if the original poster solves the problem using reg add, there is no need to get to the bottom of it, and you can consider closing the thread.

Re xuantian:

The above reply was made before seeing your topic post. Obviously, due to my lack of knowledge, I inevitably went astray. In order to avoid more people repeating the same mistakes and also for the continuity of discussion, I took the liberty to merge the topics. If you have a special meaning in starting a new topic, you might as well make it clear. If it is really necessary, I will split it again.

[ Last edited by willsort on 2006-4-15 at 01:05 ]
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 18 Posted 2006-07-27 22:11 ·  中国 广东 东莞 电信
新手上路
Credits 14
Posts 5
Joined 2006-07-23 13:43
20-year member
UID 59068
Status Offline
Floor 19 Posted 2006-07-28 15:06 ·  中国 辽宁 大连 教育网
中级用户
★★
DOS之友
Credits 332
Posts 168
Joined 2005-10-06 00:00
20-year member
UID 43171
Gender Male
From 天涯
Status Offline
After reading xuantian's post, I gained a lot.
测试环境: windows xp pro sp2 高手是这样炼成的:C:\WINDOWS\Help\ntcmds.chm
Floor 20 Posted 2006-07-30 12:25 ·  中国 广西 梧州 联通
新手上路
Credits 2
Posts 1
Joined 2006-07-27 18:35
20-year member
UID 59383
Status Offline
Still a green hand, a complete novice... There are many things I don't understand...
Forum Jump: