batchfile change line
Moderator: DosItHelp
batchfile change line
how to make a batchfile change a single line in any place in a textfile?
Re: batchfile change line
This is not possible. You could read the file line by line, change what you want, write it to a new file and finally replace the old file.
Explain what you wanna do.
Explain what you wanna do.
Re: batchfile change line
dani8190
You can use an external utility sed (GNU and super-sed versions is guaranteed) with a key --in-place
You can use an external utility sed (GNU and super-sed versions is guaranteed) with a key --in-place