FINDSTR: how to only display the searched strings?
Posted: 14 Nov 2011 01:46
I've an xml file and needa do batch renaming of the pic paths
I want to only replace " " with "_" within the path attribute.
I can hardly find any switches of FINDSTR to do that.
<gallery>
<pic path="images/folder 1/pic 009.JPG" desc="desc 1" />
<pic path="images/folder 1/pic 010.JPG" desc="desc 2" />
</gallery>
I want to only replace " " with "_" within the path attribute.
I can hardly find any switches of FINDSTR to do that.
Code: Select all
FINDSTR path= testtxt.txt