I assume there is no easy way to output colored text and that's why he used this trick with "findstr /a" to achieve that.
Probably making sure that such file name or directory doesn't exist would be needed before trying to create it and then delete it...
