I have a set of folders, and in each folder is a INI file with a list of settings.
I am looking for a way to read the INI in each folder, and report back a specific setting in each - perhaps output to a text file.
Example:
Code: Select all
Folder: File: Setting:
C:\Users\JonesSmith JonesSmith.ini maximumlogin=2200
C:\Users\MikeHawk MikeHawk.ini maximumlogin=3000
C:\Users\Jenny801 Jenny801.ini maximumlogin=1500
As you can see, each file name is different, but there is only one INI per folder, and I only need the specific setting out of each. Based on the setup of the user folder, the setting may not be on the same line in each INI
The amount of folders changes daily, as new setups are created. maximumlogin setting is set on the GUI side during the add process, and I need a report that can show them.
In theory, I would like a text file output that shows the result just like the example data above.
I am guessing this can be done with a For /F loop of some sort, but I am terrible at those.
Help?