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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find and replace text

Status
Not open for further replies.

Kaiaualad

Technical User
Jun 15, 2001
70
AU
Hi,
As a newbie I am trying to construct a batch file to find all instances of a a word "abc" in a bunch of log files and replace with "xyz".
The Findstr command is great,but The replace command only seems to work at the file level, not the word/line level.
Any ideas?

cheers
 
No, it is for real - I have been tasked with constructing a daily batch file that runs through all application log files finding and replacing sensitive words.I am unable to use 3rd party tools due to security rules.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top