By default, and inconveniently so for most PC users, you can’t paste text into the Command Prompt window in Windows 11 or Windows 10, using the keyboard easily – this action requires using the mouse. In this post, we will show you how to Enable or Disable CTRL+C & CTRL+V (copy/paste) in Command Prompt in Windows 11/10.
Enable CTRL+C & CTRL+V in Command Prompt
If you want to enable or disable CTRL+C & CTRL+V to easily paste in Command Prompt on your Windows 11/10 PC, you can do so in either of the following ways:
- Configure Ctrl key shortcuts in Command Prompt settings
- Paste from Command Prompt menu
- Use AutoHotkey Script
Let’s see a description of each of the methods.
1] Configure Ctrl key shortcuts in Command Prompt settings
To enable or disable CTRL+C & CTRL+V to easily paste in Command Prompt on your Windows 11/10 PC, you can configure the Ctrl key shortcuts in Command Prompt settings. Here’s how:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type cmd and hit Enter to open Command Prompt.
- Once the CMD prompt window opens, right-click on the command prompt’s title bar, and select Properties.
- In the Properties sheet that opens, check the Enable new Ctrl key shortcuts option.
Note: If you’re running Windows 10, you may have to check the Enable experimental console features (applies globally) option first.
- Click OK.
You should now be able to copy text and then paste it into the command prompt.
2] Paste from Command Prompt menu
This is an alternate Windows 11/10 built-in method to paste from the command prompt menu using your keyboard. This action will trigger the menus and paste into the console.
To paste from the command prompt menu using the keyboard, do the following:
- Open command prompt.
- Once CMD prompt window opens, press the Alt+Space keyboard shortcut to bring up the window menu.
- Now, tap the E key on your keyboard.
- Then tap the P key to paste the copied text.
3] Use AutoHotkey Script
This method requires you to create the AutoHotkey script for Ctrl+V. To do this, you’ll need to first download and install AutoHotkey on your Windows PC, and then create a new AutoHotkey script or add the syntax below to your existing script.
#IfWinActive ahk_class ConsoleWindowClass ^V:: SendInput {Raw}%clipboard% return #IfWinActive
When you run this script, what it does is simply use the SendInput function to send the copied text into the window – this method is a lot faster than any other method.
That’s it on the three ways to Enable or Disable CTRL+C & CTRL+V in Command Prompt in Windows 11/10!
Related post: How to open Command Prompt from the Task Manager using CTRL key
Why Ctrl C is not working in CMD?
Ctrl+C keyboard shortcut is not working in Command Prompt because it is disabled by default. You need to open the Command Prompt settings panel and enable the Ctrl key function. For your information, this option is called Enable Ctrl key shortcuts. Then, you can start using this Copy-Paste shortcut without any problem.
How do I enable Ctrl C and Ctrl V in Excel?
To enable Ctrl C and Ctrl V in Excel, you need to open the clipboard and enable the clipboard shortcut. To enable Ctrl C and Ctrl V in Excel, do the following: Go to the Home tab. Click the small icon in the lower right-hand corner of the clipboard section to open the clipboard. Click the Options button. Now, uncheck the Show Office Clipboard When Ctrl+C Pressed Twice option.
Hope it helped.