Page 1 of 1

findstr help!

Posted: 08 Oct 2011 01:37
by Rileyh
Hi,
I need help with the command "findstr"
What I want it to do is find a string of text, specifically "print" and then swap that for something else.
Could someone give me a batch file and an explanation of how that batch file works.

Any help would be greatly appreciated,
Rileyh

Re: findstr help!

Posted: 08 Oct 2011 09:06
by aGerman
Have a look at the substitude function.
Also there are a lot of examples you can find in this forum.

Regards
aGerman

Re: findstr help!

Posted: 08 Oct 2011 20:42
by Rileyh
aGerman,
Thanks for the post.
Could you provide examples of the examples on this forum?

Regards,
Rileyh

Re: findstr help!

Posted: 08 Oct 2011 21:20
by Rileyh
aGerman,
The "substitute" command does not exist in W7 batch.
Could you give me an alternative?

Regards,
Rileyh