jeudi 29 octobre 2015

How to edit specific line of code in a bat file java

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? Thnx in advance.

Aucun commentaire:

Enregistrer un commentaire