Jump to content
Sign in to follow this  
archies

Adding text to the end of each line in .txt file ?

Recommended Posts

archies

Hey guys,

All I am trying to do is add a small piece of text to the end of each line in a .txt file.

For example:

orginal.txt file:

This is a sentence blah blah blah
This is a sentence blah blah blah
This is a sentence blah blah blah
This is a sentence blah blah blah
This is a sentence blah blah blah

then I want to add the text "[END]" after each line so the new .txt file would look like this:

This is a sentence blah blah blah[END]
This is a sentence blah blah blah[END]
This is a sentence blah blah blah[END]
This is a sentence blah blah blah[END]
This is a sentence blah blah blah[END]

Is this possible with autoit?

Thanks guys!

Edited by archies

Share this post


Link to post
Share on other sites
archies

rasim!! You are a genius! ;)

It works beautifully and does exactly what I need!

I can't believe how powerful this autoit thing is.

But I guess the power is really in the hands of the people who know how to use it!

Thanks for your help man you saved me a ton of work :P

Edited by archies

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.