I found the bat file from here:
http://www.dostips.com/DtCodeBatchFiles.php#Batch.FindAndReplace
I want to run another command after this bat, but it doesn't work. I guess there must be something wrong the the code the site provides. Anyone can give me a clue? Thanks.