Copy and paste in a Windows Command Prompt
-
Sometimes you may need to enter a complicated or long command into a Windows Command Prompt (i.e. DOS prompt). Re-typing the command can be a cumbersome process, with high potential for error through mistyping the command. However, it is possible to paste text into a Command Prompt. First, copy the text from the source using the usual method to copy text (e.g. CTRL-C). Then in the Command Shell, click on the window icon (in the top left-hand corner of the window) and select ‘Edit’ > ‘Paste’. This will paste the text into the Command Prompt window, at the position of the prompt. You can also copy text from the Command Prompt window. You will first need to select the text to copy. Click the window icon and select ‘Edit’ > ‘Mark’. Now, drag and highlight the text you wish to copy. Once the text has been highlighted, go to the window icon then ‘Edit’ > ‘Copy’. You can now paste the text to the destination.