Search found 2 matches

by jles
07 Jul 2009 12:45
Forum: DOS Batch Forum
Topic: strip a substring from a messy search result
Replies: 3
Views: 6488

Used VBScript

Thanks ghostmachine4 . I used your vbscript file. I also needed line numbers so I modified it slightly. At the same time I made it a little more flexible for the search text and file to search. The final script is below. Thanks again, Joshua 'Get Args Set args = WScript.Arguments num = args.Count 'C...
by jles
06 Jul 2009 15:13
Forum: DOS Batch Forum
Topic: strip a substring from a messy search result
Replies: 3
Views: 6488

strip a substring from a messy search result

I am trying to get a clean output from findstr (other suggestions are welcome). If I run the comand: findstr /n SoftVersion Test.xoml I get the following output: 8: <ns3:TestAndImproveSharpness x:Name="testAndImpr oveSharpness1" ImageSharpessWithinThreshold="False" SoftVersion=&q...