Does anyone know how I can search for a piece text in multiple files within multiple sub directories
Does anyone know how I can search for a piece text in multiple files within multiple sub directories.
<scriptname> "directory"for or with jump labels in batchchoice /c mws.for /f "delims=" %%# in ('dir /s /b /ad "YOUR DIRECTORY"') do (
findstr /c:"%*" "%%#\*" 2>nul
):loop
rem do something...
goto loopchoice /c:AB /n > nul 2>&1