中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-13 11:23
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » How can I modify the registry directly with a batch file? Thanks, everyone!
Printable Version  963 / 3
Floor1 zqdarkday Posted 2007-04-21 12:30
中级用户 Posts 79 Credits 210 From 湖北
How do I modify the registry in a batch file?
I looked at some posts and they all talk about using regedit to import *.reg or using txt. Is it possible to change it directly in the batch file???
Thanks!
I'm a total newbie!!!
Floor2 lxmxn Posted 2007-04-21 18:46
版主 Posts 4,938 Credits 11,386
Yes, refer to the reg command.
Floor3 zqdarkday Posted 2007-04-22 00:49
中级用户 Posts 79 Credits 210 From 湖北
I already looked at it
reg/?
but I still don't understand!
Can you explain it to me in more detail?
Floor4 bw070 Posted 2007-04-22 04:51
中级用户 Posts 137 Credits 292
echo Windows Registry Editor Version 5.00 >reg.dll
echo
[HKEY_LOCAL_MACHINE\SOFTWARE\360Safe\Liveup]>>reg.dll
echo "ctext"="Come and create your own personal edition of 360 Safe Guard">>reg.dll
regedit -s reg.dll
del reg.dll

Modify it yourself, just a random example
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023