Tag Archives: Copy from Command Window

Copy and Paste from Windows Command Window

If you know what a ‘command prompt’ or command window is, you may not know how to copy and paste from it. Here’s the trick:

1. You can get the window to appear in at least three ways. Type cmd into the search line after you click the start button; right click in most folders while holding the shift key and choose ‘open command window here’, or navigate to All Programs then Accessories and choose Command Prompt.

2. Once the command window opens, it’s DOS from then on. Enter your parameters, something like ‘tracert brianmahoney.ca’ and your window will fill up with all of the steps it takes to get to this site.

3. What if you want to copy and paste that data into another program, Notepad for instance? It’s easy! Here are the photos to show you:

Photo of Command  1
The command window showing the trace route path to Yahoo.

 

On the border of the command window, right click. This will come up:

Photo Command  2
Right click on the border, move down to Edit then choose Mark.

 

Click on where you want to start the copy action. We chose the T on tracert.

Photo of Command  3
Click on the first letter of where you want the copy to start.

 

Hold down the shift key and click on the LAST letter or number of what you want to copy:

Photo of Command  4
The selected text will turn white as soon as you click the last letter/digit while holding down the shift key.

 

Back up to the border of the command window, right click and choose Edit then Copy:

Photo of Command  5
Choose Copy.

 

Open Notepad, right click anywhere in the white part and choose Paste:

Photo of Command  6
There is the text that you copied from the command window.

 

You may never need to use this but now you know how it’s done, just in case you ever need it.

Thanks for reading!