I wonder for a project of mine: how do i edit a specific line of code in a bat file, using java? Say the file is in the src folder, and contains the text:
cd C:\Users\User\
start example.exe
So, how can i edit the "User" in the cd, in line 1? It doesn't matter what the program needs to do for it, as long as it happens. Put i'd like a way without needing to create a new file, but that wouldn't be a disaster.