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.
1. Type your command for example dir
2. Right click and click Mark
3. Move your mouse cursor to capture an output
4. Right click to release mark option
5. Open your notepad and paste it there
6. Save your file
1. Type your command + |clip
2. For example: dir | clip
3. Open your notepad or the others editor and paste it there
4. Save your file
1. Type your command + > filename.ext
2. For example : dir > list.txt
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!