Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

replace a specific text in a text file

Status
Not open for further replies.

roswell

Programmer
Mar 18, 2001
26
PH
Does anybody knows how to replace a text in a text file? Meaning finding a word in the file, then changing it with a new word and saving that text file. Example, I would like to change the password in the text file under a specific username. How could I do this?
Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top