Well here goes:
I tried to write a batch file that adds a specific fixed text to each line of an already existing text file.
for the adding text infront of each line I tried this:
for /F "delims=" %%j in (list.txt) do echo.STARTTEXT\%%j >> list.txt
for adding text after each line I haven't figured out how to do it.
HOWEVER:
When I use the code descripted, this:
1stline
becomes this ->>>
1stline
STARTTEXT1stline
I want it to be just
STARTTEXT1line
so to sum it up I want to add something BEFORE and AFTER the 1line (for each line in a text file), like this:
STARTTEXT1stlineENDTEXT
STARTTEXT2ndlineENDTEXT
STARTTEXT3rdlineENDTEXT
...
Any help is appreciated