Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
02-05-2012, 06:33 PM #1
- Join Date
- Dec 2010
- Sheffield, UK
- Thanked 1 Time in 1 Post
Batch File To Read And Modify Text File
Okay, so basically, I have a whole list of links in a plain text Notepad file, each link on a seperate line. All I am wanting to do is to add a bit of text before each link, specifically: 127.0.0.1 and a couple of spaces.
So I am wanting some batch file code, executable in a .bat file, which basically reads a Notepad text file and then adds "127.0.0.1 " at the beginning of each line with text on it. I am guessing this is probably a very simple piece of code for someone with some knowledge of MS DOS and batch file code, but that most certainly isn't me, and the only batch files I have ever written have been with help like now.
Thanks for any and all help in advance with this, much appreciated.http://www.topcashback.co.uk/ref/hashim1
Total earnings so far: £25.15
A very generous cashback site worth checking out.