Reputation: 21
I'm just getting started with bat files, but i was wondering if someone could show me how to do the following in a .bat
file.
I need to add the string value
"SPaNr"="2"
to
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\AMI\RadWorks\8.0]
Upvotes: 2
Views: 1717
Reputation: 1121
Easiest way is to use reg.exe
reg add HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\AMI\RadWorks\8.0 /v SPaNr /d 2
Use the /t switch if you need to specify the data type
Upvotes: 2