guys if I want like do findstr many time it just don't show the value of 2 & 3 in the line please correct me
>summary.txt (
for %%F in (*chkpackage*) do findstr %1 "%%F" nul || echo %%F:N/A && findstr %2 "%%F" &findstr %3 "%%F"
)
I want to search on the string 2 and 3 too but why after I run this string 2 and 3 don't show
Did i use some syntax wrong?
like if in my resource text file have "
aaa 111
bbb 222
ccc 333
DDD 444
eee 555
aaa 666
sting1 for aaa
sting2 for ccc
sting3 for eee
result in summary.txt would be like
filename.txt : aaa 111 : ccc 333 : eee 555
filename.txt : aaa 666 : ccc 333 : eee 555
Thank you for any answer
string1 AND string2 AND string3orstring1 OR string2 OR string3or something else, perhaps? It seems like ANDs all the way, but I'm not sure, even less so since you are saying it's not working as expected.