Jump to content

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


archies
 Share

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...