I have seen this question asked but never with a suitable answer for what I need
I work doing remote tech support on computer systems and one of the things I frequently need to do is open ini files and replace certain lines with a new one
as an example we will say.
program status = client
Well I would need to change that to server so it reads
program status = server
While yes I can open it in notepad I want to be able to do this via command line in a batch file as I already have a batch tool I have created for everything else I do.
Now, note that not every computer supports powershell scripts so this has to be just in the one batch file. I can not download any additional software as these are not my systems I am connecting to.
Anyone know how this would be done purely via batch as I am at a loss. Not looking to open an editor via command line, just a straight up run it and that line is changed in the ini file.
Thanks for any input -Terra