Copying and Pasting Text

Maintained on

Do you ever need to copy the text displayed while using Command Prompt?

Or maybe you want to paste text you’ve copied as a Command Prompt command?

The method for copying and pasting in Command Prompt is different from the usual Windows commands.

we will introduce how to copy and paste text in Command Prompt.

Conclusion

Here are the commands we will introduce in this article.

ActionKeyboardMouse
CopySelect text, then press EnterSelect text, then right-click
PasteCtrl + VRight-click

How to Copy Text in Command Prompt

First, let’s learn how to copy text in Command Prompt.

Usually, you can copy text by selecting “Copy” from the right-click menu or by pressing Ctrl + C, but this method doesn’t work in Command Prompt.

How to Copy Using the Mouse

To copy text using the mouse, simply select the text and right-click to copy.

In Command Prompt, the right-click menu doesn’t appear, and the text is copied immediately.

The console on the screen is a sample.
×
Command Prompt Icon
Command Prompt
Microsoft Windows [Version xx.x.xxxxx.xxx]
(c) 2024 Ribbit App Development All rights reserved.
 
C:\users\user>You can simply select the text and right-click to copy.

How to Copy Using the Keyboard

If you want to copy text using the keyboard, you can do so by selecting the text and then pressing the Enter key, just like with the mouse.

The console on the screen is a sample.
×
Command Prompt Icon
Command Prompt
Microsoft Windows [Version xx.x.xxxxx.xxx]
(c) 2024 Ribbit App Development All rights reserved.
 
C:\users\user>You can copy by selecting the text and pressing the Enter key.

How to Paste Text in Command Prompt

How to Paste Using the Mouse

If you want to paste text using the mouse, it’s very easy. Simply right-click on the Command Prompt window to paste.

If you have selected a range of text and then right-click, the selected text will be copied. If you haven’t selected anything, the text will be pasted on the last line.

The console on the screen is a sample.
×
Command Prompt Icon
Command Prompt
Microsoft Windows [Version xx.x.xxxxx.xxx]
(c) 2024 Ribbit App Development All rights reserved.
 
C:\users\user>If you right-click without selecting anything, the text will be pasted.

How to Paste Using the Keyboard

If you want to paste text using the keyboard, it’s the same as the usual paste operation.

Press Ctrl + V to paste.

The console on the screen is a sample.
×
Command Prompt Icon
Command Prompt
Microsoft Windows [Version xx.x.xxxxx.xxx]
(c) 2024 Ribbit App Development All rights reserved.
 
C:\users\user>You can paste by pressing Ctrl + V, just like the usual operation.

Conclusion

How was it?

Copying and pasting in Command Prompt may be a little confusing as it is different from the usual Windows commands.

However, by remembering these operations, your work on Command Prompt will become smoother.

We hope this article was helpful to you in some way.

#PowerShell #Command Prompt #Batch File