This tip was printed from the MalekTips Computer and Technology Help and Tips website at http://malektips.com.

DOS and Batch Files - Redirect the Positions of the Redirect

SUMMARY: In DOS, redirection symbols can appear in multiple locations.

When you perform a command involving redirecting the output such as DIR *.TXT > TEXTLIST, you normally place the redirection symbol after the command you are redirecting. You don't have to do this. The command > TEXTLIST DIR *.TXT works fine.


 

 

Press the "print" button on your browser or select "File" - "Print" to print this tip. Then, return to DOS and Batch Files - Redirect the Positions of the Redirect

Standard disclaimer applies - read http://malektips.com/disclaim.html