Tip 23: Cut and Paste in the Command Prompt

Using cut-and-paste in the WIndows Command Prompt is easy, provided the information you want to cut-and-paste is character oriented.
(Note, it will basically work with any information, but the end-result might turn out somewhat unexpected if the information is NOT character oriented. )

In a text-editing application like Notepad, select and copy the information as you normally would. Next, move your mouse to the Command Prompt screen. Right-click on the desired location in this screen and choose "paste" from the context menu. The copied text will appear.

You can also cut and paste in the Command Prompt screen itself.

  • Right-click the Command Prompt and choose mark
  • While holding down the left mouse button, "select" the text you want to copy by moving the mouse over it
  • Either move to another application window and "paste" in the usual manner, or
  • If you need the selected text to appear in the Command Prompt, right-click and choose paste. The selection will be "pasted" at the last cursor position.

This tip works with Windows NT / 2000 / XP