How do I copy a line in the Command Prompt window?

I am aware that we can do Ctrl-A to select all, but that's not what I want.

I'm using 32 Bit Windows Vista Home Premium SP2

link|improve this question

nelaar's answer is the best way. – barlop Sep 16 '11 at 14:54
@barlop this is weird, it isn't working for me. take a look at the comments below it – Pacerier Sep 16 '11 at 15:52
ok I see nelaar got his instructions completely wrong, see my response below it with correct ones. – barlop Sep 16 '11 at 18:53
feedback

2 Answers

up vote 6 down vote accepted

Right click on the title bar and go to edit menu
All the options you need are there (copy, paste, select)

or To change the option to allow quick editing

Right click on the title bar and go to properties > quickedit mode enable.
Now you don't need to go through the edit menu to select or copy or paste.

Enter short cut to copy
Right click short cut to paste
Left click drag to select text.

Every thing is put into a the system clip board so crtl + v will work in to other applications like notepad.

link|improve this answer
This is weird, I've got quickedit mode enabled but Ctrl+V isn't working. Netiehr is the press of the enter key doing paste.. – Pacerier Sep 16 '11 at 15:51
1  
@pacerier well, I see he got it wrong, but he's right about quickedit mode. Quickedit mode is great i'd use it always. Go into quickedit mode, then the way you copy is you highlight what you want to copy, it gets highlighted in a block. Then hit ENTER, then it unhighlights, and what you highlighted went into the clipboard. In order to paste, you right click. – barlop Sep 16 '11 at 18:52
@barlop cool it's working thx =) – Pacerier Sep 16 '11 at 19:03
@nelaar your answer is partly right and with wrong instructions, you shoudl clear it up. I upvoted it before I saw your instructions were completely off and now I can't remove that upvote I gave you. your answer is currently mostly a shambles. you should fix your answer. I suggest using <s> and </s> to strikethrough parts and write the correct one. At least the comments to this answer explain everything. – barlop Sep 16 '11 at 19:27
@barlop. You guys were correct. I should have done a better job explaining, thanks for the input. I hope that my changes better explain what needs to happen and how it works. Just have to wait for it get reviewed before it shows up. – nelaar Sep 19 '11 at 6:37
feedback

You need to right click and select Mark

You can then highlight the rectangle of text you want to copy.

Then hit Return to copy it into the clipboard.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.