1.

Solve : String Replace in a file in command line?

Answer»

Hi All,

  I was wondering if anyone knows how to do a string REPLACE in a file using the dos command line? For example, if I have the string "abc" in MULTIPLE places in a file, how can I produce another file with all the "abc" REPLACED with "def". Your help is greatly appreciated. Thanks!!

Kendall.The SED utility does EXACTLY what you are trying to accomplish.do a google search for the utility



Discussion

No Comment Found