Geeks With Blogs
Mark Pearl

 

Something I always knew was possible but never bothered to find out how to do…

If you are in the command window and you want to stream the results of a command to a text file instead of the screen use the > command…

For instance “dir > results.txt” will create a text file with the output of the dir command.

Posted on Tuesday, September 27, 2011 9:02 AM Misc | Back to top


Comments on this post: Sending output from command prompt to text file

# re: Sending output from command prompt to text file
Requesting Gravatar...
I single > creates a new file each time. If you use >> then you can append to existing files.
Left by Robert MacLean on Sep 28, 2011 10:23 AM

# re: Sending output from command prompt to text file
Requesting Gravatar...
Awesome.. thanks Robert for the feedback
Left by MarkPearl on Sep 28, 2011 11:27 AM

Your comment:
 (will show your gravatar)


Copyright © MarkPearl | Powered by: GeeksWithBlogs.net