By Default Windows you are not allowed to Copy text and Paste it in Command prompt or copy from here and paste it somewhere else.But if you will explore inside you get an option in CMD itself to enable Copy & Paste Text in Windows Command Prompt.
In this article i will tell you how to Enable Copying and Pasting Texts in Windows Command prompt. The best advantage of this is that you can copy any command you find on internet or any excel sheet and paste on the CMD prompt.
How to Enable Copy Paste in CMD
Step 1: Press Win+R and type CMD then command prompt will open.
Step 2:On the title of the cmd window just Right Click and Select Properties as its shown in the below Picture
Step 3: You will see a Pop up Window , Now on the Right hand side, Under Edit Options, Just Check Quick Edit Mode and click OK
Step 4: You are done , Now you can copy any text from anywhere or from here using CTRL + C keys and just Right click using your mouse on CMD. You will see that the text is been pasted automatically in CMD. Please Understand that Using CTRL + C to Copy text is Important.
Likewise if you wish to Copy Text from CMD to paste elsewhere
then Just Select the Text in CMD and Again just Right Click with the
mouse. Your Text is Copied and ready to Paste it in any Document you
want.
This Doesn’t Limit you to just Text you can even copy File or
Folder path and paste it in CMD. Everything that you have to type
manually can be copied from somewhere and pasted directly to CMD with
this small Tweak
So this is the trick which i wanted to tell you guys and you don't have to type long command which may create some errors. I hope this will help some of you