Welcome to Dream.In.Code
Getting Help is Easy!

Join 109,554 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,334 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Very Simple Program or Script Needed

 
Reply to this topicStart new topic

Very Simple Program or Script Needed

-whynot-
post 28 Jul, 2008 - 11:07 PM
Post #1


New D.I.C Head

*
Joined: 28 Jul, 2008
Posts: 4

Hi
i need a program that load a .txt file in it and add a text which i tell to program and save the list to .txt like i load a file which contain:

assa
zssa
vvss
sfff

and i tell the program add 900 to end of the .txt file and it give me


assa900
zssa900
vvss900
sfff900

and it do it automaticly to all .txt file and let me save the file
i would pay some $ via paypal to who can do it ,but i need it fast
if any one can please pm or site pm me FAST!

+ i know with some professional notepad it can be done but i donno what i search and replace.. any help would get $ via paypal smile.gif THANKS
User is offlineProfile CardPM

Go to the top of the page


no2pencil
post 28 Jul, 2008 - 11:25 PM
Post #2


Wet D.I.C.

Group Icon
Joined: 10 May, 2007
Posts: 4,948



Thanked 27 times

Dream Kudos: 2325

Expert In: Goofing Off

My Contributions


What OS?
User is online!Profile CardPM

Go to the top of the page

-whynot-
post 29 Jul, 2008 - 12:09 AM
Post #3


New D.I.C Head

*
Joined: 28 Jul, 2008
Posts: 4

microsoft xp
User is offlineProfile CardPM

Go to the top of the page

no2pencil
post 29 Jul, 2008 - 12:59 AM
Post #4


Wet D.I.C.

Group Icon
Joined: 10 May, 2007
Posts: 4,948



Thanked 27 times

Dream Kudos: 2325

Expert In: Goofing Off

My Contributions


Arg, I have this finished, but I won't have access to a windows compiler for another 2 hours.

QUOTE

Cygwin:/home/code/c/np >$cat junk.txt
assa
zssa
vvss
sfff
Cygwin:/home/code/c/np >$cat temp.txt
assa900
zssa900
vvss900
Cygwin:/home/code/c/np >$
User is online!Profile CardPM

Go to the top of the page

no2pencil
post 29 Jul, 2008 - 01:06 AM
Post #5


Wet D.I.C.

Group Icon
Joined: 10 May, 2007
Posts: 4,948



Thanked 27 times

Dream Kudos: 2325

Expert In: Goofing Off

My Contributions


Question, is the text always going to be 900, or will it change?

If it will be different than 900, will the text only be input once, & the same through the rest of the file?
User is online!Profile CardPM

Go to the top of the page

-whynot-
post 29 Jul, 2008 - 01:51 AM
Post #6


New D.I.C Head

*
Joined: 28 Jul, 2008
Posts: 4

hi & thanks but i donno how to use it .. look bro its what i need :
i have a yahoo ID collector and i have collected about 3000 Yahoo ids..now i want to add @yahoo.com to end of the each yahoo id in the list to use the Emails to advertice...
so here is what i need-> i load a .txt file in the program..i tell program to add @yahoo.com to the list..and program let me to save the file..if you can please give me .exe and tell me how much +ur paypaL Email

thanks alot:)
User is offlineProfile CardPM

Go to the top of the page

no2pencil
post 29 Jul, 2008 - 02:13 AM
Post #7


Wet D.I.C.

Group Icon
Joined: 10 May, 2007
Posts: 4,948



Thanked 27 times

Dream Kudos: 2325

Expert In: Goofing Off

My Contributions


QUOTE(-whynot- @ 29 Jul, 2008 - 04:51 AM) *

hi & thanks but i donno how to use it ..


I have not uploaded it yet. Like I said, I don't have a Windows compiler, I'll have access to it here real soon (as soon as I leave work & head for home).

Here is what it looks like on a Cygwin (Linux/Unix) environment...

QUOTE

Cygwin:/home/code/c/np >$cat junk.txt
assa
zssa
vvss
sfff
Cygwin:/home/code/c/np >$cat temp.txt
assa@yahoo.com
zssa@yahoo.com
vvss@yahoo.com


When it runs it has error checking, & you'll need to either drag & drop the text file onto the exe, or run it from the dos shell.

I'll get you screen shots on how to use it, as there is no interface.

Right now the output file will always be temp.txt, unless you want me to make it something else, but it will always be the same output file name. Do you want it to be something like email.txt or something similar?
User is online!Profile CardPM

Go to the top of the page

no2pencil
post 29 Jul, 2008 - 04:28 AM
Post #8


Wet D.I.C.

Group Icon
Joined: 10 May, 2007
Posts: 4,948



Thanked 27 times

Dream Kudos: 2325

Expert In: Goofing Off

My Contributions


Here are some screen shots :

Drop the exe & the text file into the same directory:
Attached Image
Drag & drop the text file onto the exe (or you can run from the command prompt & give the text file as an argument)
Attached Image
The process will let you know when it's finished:
Attached Image
The text file gets created:
Attached Image
Your desired output file:
Attached Image

& if you don't specify a file...
Attached Image

Cost $25
PayPal address ebay@akroncdnr.com

Once payment arrives, shoot me your email (to that address, or on here) & I'll get you the exe.

Thank you.
User is online!Profile CardPM

Go to the top of the page

-whynot-
post 29 Jul, 2008 - 12:29 PM
Post #9


New D.I.C Head

*
Joined: 28 Jul, 2008
Posts: 4

ok in some hours ill tell my friend to send you money..when he told me sent i will back to you..
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 9/7/08 11:02PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month