Advertisement
Guest User

Untitled

a guest
Aug 29th, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. @Echo off
  2.  
  3. MD TemporaryFolder
  4. CD TemporaryFolder
  5. Echo Press ENTER
  6. set /p ".=Enter the text before the colored text here" >nul
  7.  
  8. set /p ".=Text after colored text 1" <nul >"Text 1 to color"
  9. set /p ".=Text after colored text 2" <nul >"Text 2 to color"
  10.  
  11. findstr /A:0E /S /C:"Text after colored text 1" "Text 1 to color"
  12. Echo.
  13. findstr /A:0c /S /C:"Text after colored text 2" "Text 2 to color"
  14.  
  15. echo.
  16.  
  17. CD..
  18. RD /S /Q TemporaryFolder
  19. Pause > nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement