Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- goto findstring
- :stringnotfound
- echo %string% not found in %location%
- pause >nul
- :findstring
- set /p string=string:
- set /p location=location:
- findstr /i /p /m /s "%string%" %location%
- if %errorlevel% == 1 goto stringnotfound
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement