I was trying to think about if it would be possible to create a text file that could be in a directory and create a program that loops through each line in the text file to assign values to variables and apply registry settings. The text file could have on each line a registry setting. The purpose of the text file would be so that it could be updated frequently without re-engineering any code.
Fordy wrote code to apply registry settings, but I was wondering if something could be done a bit differently. I dont want to be notified whether or not each individual registry setting was applied successfully or not, unless it was written into an output file or log. Here is a link to Fordy's post. I dont want to paste the code directly into this post because I want to make sure Fordy gets all of the credit for his code.
Editing Windows Registry in C?
So, would it be possible to maintain a text file or even and excel spreadsheet, so that the hive, key, type, and values could be assigned to the variables in a loop that applies each registry key. Does anyone know how this could happen? I am interested, so any thoughts would be appreciated.