Press Ctrl + C to copy the text at first, open CMD, then simply right-click in the Command Prompt window to paste the text. To enable the shortcut, you need to right-click the CMD window’s system menu to choose Properties. Then make sure that the Quick Edit Mode option is enabled.