1.

Solve : How do you add a string of text to multiple lines of text.?

Answer»

I'm creating a quick download batch file for use with rapidshare. I want to add 'START """ ' to the begining of each LINK when I copy and paste multiple links into a text file. I can copy and paste the start myself but I use this a lot and I'd like to AUTOMATE the process. Any help?Process the text file with a FOR loop. Prepend the additional text to each line and write it to a batch file, then call the batch file when you exit the loop.
I have'nt written anything in a long TIME. I don't remember how use prepend or the for loop, but I can make an adewuate loop using an if loop. The MAIN problem was prepending the text. I don't know the command. Thanks for the quick response.something like this

if exist doit.bat del doit.bat
for /f "delims==" %%L in (urls.txt) do (
echo start "" "%%L" >> doit.bat
)
call doit.bat



Discussion

No Comment Found