This article is from our Febooti archive, it was relevant then, and I think that it is still relevant today (a few details changed). Previous article: IF statement in DOS batch file. The two most commonly used redirection operators used in console are the output redirection operator (>) and the input redirection operator ( is …