Redirect Command Line Output to File

For any purpose we still need command line function even we need to redirect command line output to file. If you previously use Windows XP and currently use Windows 7 you may miss HyperTerminal in Windows XP that easily record all things you do with command prompt. To make you don’t miss it too much so here I will share you three ways to redirect command line output to file in Windows 7.

Just open your command prompt, press start + r and type cmd and command prompt console will available.
Mark
1. Type your command for example dir
2. Right click and click Mark
3. Move your mouse cursor to capture an outputcommand line output to file
4. Right click to release mark option
5. Open your notepad and paste it there
6. Save your file
Clip
1. Type your command + |clip
2. For example: dir | clipcommand line output to file
3. Open your notepad or the others editor and paste it there
4. Save your file
Create file
1. Type your command + > filename.ext
2. For example : dir > list.txtcommand line output to file
3. It will create list.txt file contain dir command output

Three ways above have some purpose and when you need to redirect command line output to file you can use it. Enjoy it!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>