I am anxious about it, tell me soon
Oh sorry for being bit lengthier. But I have something more to say. Using this command you can do two things.
- Copying the output of a command to clipboard
- Copying the content of a text file to clipboard
1. Copying the output of a command to clipboard
You can directly copy the output of any command to clipboard. The syntax is as follow:
command | clip
Example: If you want to copy the output of dir command to clipboard then write the following.
dir | clip
2. Copying the content of a text file to clipboard
You can copy the content of a text file to clipboard via command prompt without even opening it. Just follow the below syntax.
dir < NameOfTheTextFile
Example: If you want to copy the content of ReadMe.txt to clipboard then type the following
dir < ReadMe.txt
See you next time with interesting things. Bye.
Hey wait…. Just a message to you. You don’t have to pay anything for liking our Facebook fan page. It is absolutely free and you will get instant updates right in your account. Be a smart guy.