An incredibly useful Command Prompt trick is the use of redirection operators, specifically the > and >> operators.
These
little characters let you redirect the output of a command to a file,
giving you a saved version of whatever data the command produced in the
Command Prompt window.
Let's say you're about to post a computer problem to an online forum, like my computer support forum for
example, and you want to provide really accurate information about your
computer. An easy way to do that would be to use the systeminfo command
with a redirection operator.
For example, you might execute systeminfo > c:\mycomputerinfo.txtto save the information provided by the systeminfo command to a file. You could then attach the file to your forum post.
No comments:
Post a Comment