I once got this program from somewere to make the text different colours and it works.
but, what I want to know is how does it work
> @echo off
> <nul set /p .=. > "%~2"
> findstr /v /a:%1 /R "^$" "%~2" nul
> echo(%DEL%%DEL%%DEL%
> del "%~2" > nul 2>&1
> goto :eof