Se houver uma string em um lote de arquivo
>nul find "Hello World" log.txt && (
echo "Hello World" was found.
) || (
echo "Hello World" was NOT found.
)
Colorful Capybara