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!
Credits 210 Posts 79 Joined 2007-04-14 10:49 19-year member UID 85130 Gender Male From 湖北
Status Offline
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!!!
Credits 292 Posts 137 Joined 2007-04-03 01:59 19-year member UID 83758 Gender Male
Status Offline
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