I would like to pull the value from an INI file (which is a batch file) and then add a new line of text/command to this batch file.
I would like to create a new batch file called UpdateSchedule.bat. This file will insert an addtional command into the existing shedule.bat at line 50. (Line 50 will @CALL anotherbatch.bat)
What I require is the ability to pull the value (filename) from the AUTOLAUNCH parameter to tell the UpdateSchedule.bat what the file name is and to add the new code at line 50 as the AUTOLAUNCH value is different on varying instances of the config.ini file (i.e. it is not the same name on every PC that will need this update)
Thank you for any help you may have.