I need to find out how to look for a defined string, but then look for anything. For example:
Code: Select all
for /f "tokens=* delims= " %%a in ('find /c /i "(defined string)" "test.txt"') do (something random)
Now, the part I'm having a problem with is I can't figure out how to make my batch file look for a random string that occurs after the "defined string" part. I want it to find a random string enclosed in quotes ("") that occurs after the defined string.
Is that possible? Please help me.
Any help would be appreciated,
Rileyh