Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CTRL+V from Windows command prompt? [duplicate]

Tags:

command-line

Possible Duplicate:
Keyboard shortcut to paste clipboard content into command prompt window (Win XP)

Is there a keystroke command for pasting in the Windows command console? CTRL+V does not work. The only thing that works is right click with the mouse and paste, but it is not efficient to transition from the keyboard to the mouse.

like image 832
BrokeMyLegBiking Avatar asked Mar 08 '11 04:03

BrokeMyLegBiking


People also ask

How do I duplicate in CMD?

To open more than one command prompt window in Windows 10, follow the steps below. Click Start, type cmd, and press Enter to open a command prompt window. In the Windows taskbar, right-click the command prompt window icon and select Command Prompt. A second command prompt window is opened.

How do I enable Ctrl C Ctrl V for pasting in the Windows Command Prompt?

Open Command Prompt and right-click on its title bar to bring up its context menu. At the bottom of the menu, click “Properties”. Under Edit Options, tick “Enable Ctrl key shortcuts”. This will turn on not just Ctrl + C and V, but use of Ctrl + arrows to select text and more.

How do you repeat a line in CMD?

To repeat one or more lines: Type R in the line command field of the line that is to be repeated. If you want to repeat the line more than once, type a number that is greater than 1 immediately after the R command. Press Enter.


2 Answers

If you enable "Quick edit mode" then you can paste by right clicking with the mouse anywhere in the window - its not as quick as a shortcut key, but its quicker than the context menu.

To enable quick edit mode right click on the window border and select properties, on the resulting properties dialog make sure that "Quick edit mode" is selected and press OK:

Screenshot of the properties dialog

like image 194
Justin Avatar answered Oct 06 '22 17:10

Justin


Keyboard shortcut to paste clipboard content into command prompt window (Win XP)

It's already been asked and answered there

like image 28
Rasika Avatar answered Oct 06 '22 19:10

Rasika