diff --git a/Compile.bat b/Compile.bat index 070d61c3..467b6ab5 100644 --- a/Compile.bat +++ b/Compile.bat @@ -77,7 +77,7 @@ goto :EOF set found=0 setlocal enabledelayedexpansion - findstr \R \C:"\\documentclass\[[^\[]*lang *= *en" %THESIS%.tex > nul + findstr /R /C:"\\documentclass\[[^\[]*lang *= *en" %THESIS%.tex > nul if %errorlevel% equ 0 ( for /f "delims=" %%i in ('texcount %THESIS%.tex -inc -char-only 2^>nul') do ( if !found! equ 1 (