Saturday 30 November 2013

Copy Commands Output to Clipboard Directly

Sometimes one might want to copy the output from a command to clipboard, like at times when you get an error, and you want to paste the exact error in email or while chatting with someone.
To store a command output to a clipboard add the command | clip at the end of the command. For e.g. Dir /p | clip

0 comments:

Post a Comment