Im trying to make simple batch file that would copy all lines with width="10
string from .htm file to .txt but im stuck with doublequote "
symbol in the string
My code:
for /F "tokens=*" %%g in ('FINDSTR /C:"width=\"10" "htmfile.htm"') do (echo %%g >> test.txt)
'FINDSTR /C:"width='
this is still working but when I add the "
, its not working anymore. I added escaping \"
and and also tryed ^"
but it is still not working.
I would be glad for any help.