Computing.Net > Forums > Programming > Bat file to serarch a word in txt

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Bat file to serarch a word in txt

Reply to Message Icon

Name: Maddy86
Date: February 24, 2009 at 09:10:43 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

I want a bat file to serach a txt file for paticular word say "xyz" and replace that word with "abc" and save it again

eg I have bat file

+++

test user name
computer name
thanks test

+++

the "test" in above file is replaced by "Test1" and file shd look like

+++

Test1 user name
computer name
thanks Test1

+++


tons of thx in advance



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Bat file to serarch a word in txt

Batch file to replace a word www.computing.net/answers/programming/batch-file-to-replace-a-word/15770.html

Bat file to Delete a Particular Line..... www.computing.net/answers/programming/bat-file-to-delete-a-particular-line/19418.html

a bat file to search & move more than 1 file www.computing.net/answers/programming/a-bat-file-to-search-move-more-than-1-file/19098.html