This post shows you how to copy and paste in Command Prompt in Windows 7/10.

Part 1: How to copy and paste in Windows 7 Command Prompt

By default, you cannot select or copy and paste text in the Command Prompt (or CMD) in Windows 7, before you enable its QuickEdit mode.

Step 1: Enable QuickEdit mode in Command Prompt

1) Open a Command Prompt (or CMD) window.

2) Right click on the window’s title bar, and select Properties from the menu.

Select Properties

3) In the Properties dialog, select the Options tab, then check the QuickEdit Mode option under Edit Options, and click OK.

Check QuickEdit Mode

Step 2: How to copy and paste in Windows 7 Command Prompt

1) Select to highlight any text in the CMD window, using your left mouse button.

highlight text

2) Press your right mouse button, or press the Enter key on your keyboard, or right click on the CMD window’s title bar and select Edit > Copy, so that the selected text can be copied.

Select Edit and Copy

3) Right click in the command prompt window, or right click on the window’s title bar and select Edit > Paste, so that the selected text can be pasted onto your mouse cursor’s location in the CMD window. If you want to paste the selected text from the CMD window to another program or location, use Ctrl + V keyboard shortcuts.

Select Edit and Paste

4) Copy any text from another program or location, then right click in the Command Prompt window, or right click on the window’s title bar and select Edit > Paste, to paste the selected text onto the CMD window.

Part 2: How to copy and paste in Command Prompt on Windows 10

By default, you can freely select text or use Ctrl + C and Ctrl + V to copy and paste text in the Command Prompt (or CMD) of Windows 10. But if this feature is disabled by someone, you can enable it.

Step 1: Open a Command Prompt (or CMD) window.

Step 2: Right click on the window’s title bar, and select Properties.

Step 3: In the Properties dialog, select the Options tab, uncheck Use legacy console (requires relaunch), keep the options under Edit Options and Text Selection checked, and then click OK.

Uncheck Use legacy console

Step 4: Close the current command prompt window, and relaunch the Command Prompt for the changes to take effect.

So, you can freely use the Ctrl + C and Ctrl + V to copy and paste text in a Command Prompt window, or between multiple CMD windows, or between a Command Prompt window and other programs.