Sometimes it is convenient to copy something from a document or file and paste it into the Windows command line. Long commands are easily mistyped and a copy-and-paste operation is often the best way to proceed, The usual keyboard shortcutCtrl+V doesn’t work but there is an easy way to enable copying and pasting into the command line. Here is the procedure:
- Open a command prompt
- Click the little icon in the upper left corner of the command prompt window (outlined in white in example figure on right)
- In the menu that opens, choose “Properties” (Example shown in figure on right)
- In the dialog box that opens, make sure the "Options" tab is selected and then place a check by “QuickEdit Mode” (Shown in figure below)
- Click the “OK” button (not shown in figure)
Now whenever you want to paste some text into the command prompt, copy it to the clipboard the usual way and then right-click on the desired location in the command line. The copied text will be pasted.
This tip applies to Windows XP, Vista, 7, 8. And there you have it - no more struggling with trying to type long complicated commands.