• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

CMD or PS1 script to loop through for .inis in folder?

Homerboy

Lifer
I have a simple command file that runs off settings in an .ini file.
I have a bunch of different .ini files all in the same directory.

The command line for running a single .ini is something like

Set Automate=\users\JohnD.ini
F:\program\run.exe

Is there a simple loop script I can create that will run through ALL the .ini files located in \users\ whether there be 2 or 2,000?


Thanks in advance
 
Use code tags. :colbert:

If I recall correctly, a batch for this would be something like:

Code:
for %%i in (\user\*.ini) do Set Automate=%%i && F:\program\run.exe

Not sure if you can skip the middleman and do the for loop on %Automate% or not.
 
Back
Top