We all know how to pipe out to text files, right ? From a command prompt type in your command followed by > and then the name of the file to output the result to.
For example
ipconfig /all > c:myfilesipconfigresults.txt
will put the results of ipconfig /all into a text file called ipconfigresults.txt in the myfiles folder and the more advanced ones among us know how to not only pipe the command out but also open that text file automatically after the command has completed.
For example
ipconfig /all > c:myfilesipconfigresults.txt & c:myfilesipconfigresults.txt
Well, that leaves a permanent file on your hard drive which you might or might not want. Plus, if you want the text in another file you have to open the text file as above, select it all and then copy it to the clipboard.
Now, you can doo all of that in one go without leaving that pesky file behind – just pipe the command to the clipboard !
For example
ipconfig /all | clip
will put the output of the ipconfig / all command on your clipboard. You can now either paste it into notepad for a temporary file or paste it into any more permanent file, as part of producing customer documentation for example.
Do you mind if I quote a few of your articles as long as I provide credit and sources back
to your blog? My blog site is in the very same area of interest as yours and my visitors would genuinely benefit from
a lot of the information you present here. Please let me know if this alright with you.
Regards!
LikeLike