how to insert in the beginnword in each line

September 3, 2011 at 00:13:40
Specs: Windows XP
I want to insert string in the beginning of each line in a text file

See More: how to insert in the beginnword in each line

Report •

#1
September 12, 2011 at 09:04:58
You can do this with a for loop. It would be something like this:

for /F "tokens=*" %%A in (c:\text_file.txt) do echo inserted string %%A >> text_file.txt


Report •

#2
September 26, 2011 at 06:12:28
oh thanks Jowah
my best regards

Report •
Related Solutions


Ask Question