I am trying to write a Windows batch script which examines an XML file (the iml file) to search for a certain line, . I am having trouble with the spaces in the string. Is there a way to escape or compensate for the spaces?
for /f "tokens=*" %%a in (abcd.iml) do (
    echo %%a
    if %%a==^<orderEntry type="inheritedJdk" ^> (echo 'FOUND')
 )


if "%%a"=="<orderEntry type="inheritedJdk" >"(echo 'FOUND'^).