Reputation: 449
I'm working on a script to modify multiple registry keys at the same time. I'm trying to find a way to iterate through the sub-folders under a single registry hive, and run a specific command for each one found. The hive structure looks something like this:
HKLM
-Blah
-BLahBlah
-Databases
-DB1
-DB2
-DB3
What I want to do is basically set a new variable for the DB name, run a script for that specific folder, then move on to the next.
Upvotes: 1
Views: 671