Thanks for replying. I originally did it that way (for a different issue), but changes made to Mala while it was running would not be saved because they would be overwritten by the old .ini file. It became annoying to have to disable the script and redo the alternate .ini file.
I was trying to avoid a long explanation of everything I have going on that this could solve.

Here are the problems being able to do this would address for me:
Some of the Taito Type X games will not run if Mala is running, so I've made an autohotkey script that kills Mala, launches the game, then relaunches Mala on game exit.
Add to that a rotating monitor that Mala has to stay oriented correctly with.
The orientation issue was fixed via a Da'OldMan creation, malaori3, which he graciously modified to suit my purposes. It overwrites the lines in the .ini file responsible for orientation. However, since Mala is killed instead of shut down properly, Mala is not able to write the gamelist and position I was at to the .ini file.
So when Mala is relaunched, it will be on the gamelist and game that it was on last time it was shut down properly instead of where it was when the game was launched.
If I were able to change those lines of the .ini file as part of my script for launching the game and relaunching Mala, it could take me back to game Mala had highlighted before being killed. This would be different for each of the four games that I had to kill Mala to launch.
Add to that the startup video needing to be disabled, and I'd have 5 .ini files that I would need to make changes to any time I made a change in Mala's options menu.
It would simplify things immensely if I could just have each script swap in the things it needs to.
I'm having a hard time understanding exactly what I need to change in the examples I've found online.
http://www.dostips.com/DtCodeBatchFiles.php#Batch.FindAndReplacehttps://irfanview-forum.de/showthread.php?t=3263I also don't know if the fact that I need to change lines that contain "=" will mean that it needs to be handled in a special way.
