Command prompt is still black screen less mouse interacting tool available in advanced Windows operating system. Also in Windows 8. But there are many thing that can only be done with that old style command line. Copying and pasting text or command output is still not handy and people face problems in it. So here are some tips and tricks :

Copy the text from Command Line :

Right click on command line window and select mark.

Using mark option in command prompt to copy text
Select the mark option

After that select the text either by using shift and arrow key or by dragging the mouse on the text which you want to copy. After selecting the text press enter. It’ll copy the text to clipboard as it looks in command prompt.

copying the command line text using mark option and mouse drag
Selecting the text using mouse drag.

Copy the command output from Command line using “clip” command :

You can also select  the output of a command using clip command with pipe operator. For example, if you see a directory list using dir command and you want to copy it’s dir command output. First type dir command. It’ll show you the result. Now to copy the result again type dir | clip. it’ll copy the output to clipboard and return nothing on command prompt. See this example :

Copying command output in command prompt with help of clip command
Using Clip command for copying dir command output

Pasting the text in Command prompt :

Pasting the text in command line is very easy. Just position your cursor where you want to paste your text with help of arrow keys. Now right click anywhere on command line inner window and select paste.