Thank you, I appreciate the response. I ended up getting lucky and found exactly what I needed at the site (http://www.computerhope.com/forum/index ... 02.15.html) from user Sidewinder. I did not want to post his work here, better going to the source - but is it a great solution to what I was looking for.
Thanks again!
Search found 3 matches
- 30 Dec 2010 10:45
- Forum: DOS Batch Forum
- Topic: Problem with BatchSubstitute.bat
- Replies: 12
- Views: 75552
- 29 Dec 2010 13:21
- Forum: DOS Batch Forum
- Topic: Problem with BatchSubstitute.bat
- Replies: 12
- Views: 75552
Re: Problem with BatchSubstitute.bat
Thank you very much for this. It looks like vbs is the way to go. With the help of the sight you mentioned I found an example of a vb script which almost does exactly what I need (pasted below - you will probably recognize it, except that I pasted in /.*$ in the search expression). But I can't quite...
- 29 Dec 2010 06:40
- Forum: DOS Batch Forum
- Topic: Problem with BatchSubstitute.bat
- Replies: 12
- Views: 75552
Re: Problem with BatchSubstitute.bat
I also found the BatchSubstitute.bat really useful - Thank you. Is there a way it can be modified to except regular expressions, such as /.*$ (to get all from a / to the end of the line)? I have tried modifying BatchSubstitute.bat for findstr /R, but I break it each time I touch it (i'm sort of new ...