Advertisement
Najeebsk

FIND-TEXT.bat

Nov 15th, 2021
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.20 KB | None | 0 0
  1. @ECHO OFF
  2. :FIND
  3. CLS
  4. set /p findtext=Enter Word Search:
  5. set /p findfile=Enter File Name With Ext:
  6. CLS
  7. for /f "delims=" %%a in ('findstr %findtext% %findfile%') do (
  8. ECHO FIND:%%a
  9. )
  10. PAUSE:
  11. GOTO FIND
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement