Search found 3 matches

by JessicaPearson
08 Mar 2022 11:02
Forum: DOS Batch Forum
Topic: Replace Strings based on the Line starting with a particular string
Replies: 2
Views: 3805

Re: Replace Strings based on the Line starting with a particular string

I was able to do a workaround on replacing the required strings but in the replaced file, this non-ascii charcter  is getting added automatically . I have searched on the internet and tried the below method but its not working. chcp 65001 ren Input.xml Output.xml Please help e on how to not generat...
by JessicaPearson
08 Mar 2022 07:29
Forum: DOS Batch Forum
Topic: Replace Strings based on the Line starting with a particular string
Replies: 2
Views: 3805

Replace Strings based on the Line starting with a particular string

Hi All, Please help to guide me on the below . I am trying to replace a list of strings in a XML file, the strings are getting replaced but its getting replaced throughout the file, but I am trying to Findstr to replace strings only in the line which starts with <OfferName>, the file is very big and...