"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

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.



Print This Tip

Get E-Mail When New Tips are Online

Return to the DOS and Batch Files page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )