1.

Solve : How do I find two strings on the same line??

Answer»

Hi all,

I currently have a batch file that finds files that CONTAINS the STRING %PN%. %PN% could be anywhere in the line. What I would like to do is find only files that contain 0010,0010 and %PN% on the same line. 0010,0010 always occurs at the beggining of the line.

As always, any help would be appreciated!

Thanks!

Code: [SELECT]FINDSTR /S /I /M %PN% *.PDT > PN_Results.txt  Code: [Select]findstr /C:string1 /C:string2 ......



Discussion

No Comment Found