Copy Text In Command Prompt

If you some times dig into advance segments of your Windows computer, I’m sure you might have tried using Command Prompt a.k.a CMD. While copying and pasting text in other tools is very easy; you just have to right-click and hit copy / paste or you could make use of your keyboard shortcuts. But the same process does not work when you have to copy text in command prompt. To copy text in command prompt, you need to follow a more complex procedure. Don’t get scared, the procedure is just a step longer. You just need to follow an extra step to copy text in command prompt / CMD and I bet, it won’t take a lot of time!

Without any more ado, here is how you can copy text in command prompt.

Copy Text In CMD

(Considering that you have opened the command prompt. In case you haven’t,Open Start Menu -> Run -> Type CMD -> Press Enter key.)

command prompt

1. Right click anywhere inside the command prompt window and click on Mark from the menu that drops down.

mark text in command prompt

Once you have clicked on the Mark button, the title bar of the command prompt window should read, Mark | USER NAME | CMD PATH (Without |)

2. You will now be allowed to select text in command prompt. Drag a box around the text you wish to copy in command prompt. The selected text should be highlighted in White color.

select text in cmd

3. Once you have highlighted the text you want to copy / marked the text you wish to copy, right-click.

The marked text will automatically be copied once you right-click.

You can now paste the marked text / copied text anywhere else (in a document, in a notepad file or anywhere else).

Unlike other tools and software, you don’t have to right-click and click on copy to copy text in command prompt. Also the normal copy-paste functions do not work in the command prompt window.

Paste Text In Command Prompt

You can paste the copied text anywhere in any file of your choice. In case you are trying to back up the text and want the computer to perform the same program again later, save the code in a text file and when you want to run the program again, Open Start Menu -> Run -> Type CMD -> Press Enter key.

Now right-click and select Paste from the drop-down menu. This will now paste the copied text in the command prompt / CMD window.

Hope this helped you copy and paste text in command prompt. In case you need any help, we are always here!

 Share The Blog Post

Do you like this post?

Last Updated: May 25, 2013
Location: Home -> Copy Text In Command Prompt

Leave a Comment