how to copy cmd shell contents to clipboard

 

Overview

I do this all the time in development. once you start, you'll be hooked.

window/screen/text capture

useful tip: there are 2 ways to capture the text from a cmd shell window:

  • click the upper left hand corner box that looks like a black C:\, edit, mark. you can also access this using alt-space ek. after this you use the mouse to highlight the block of text you want and hit Enter. this puts it on the clipboard.
  • click the upper left hand corner box that looks like a black C:\ then pick Properties, Options, or do alt-space p then click options. check the quickedit mode checkbox. click ok or hit enter. choose whether to apply to current window only or change the shell permanently. I suggest that you only apply to the current window if you are in an IT organization. any mouse dragging in the cmd shell window will cause block highlighting (marking) for subsequent copying to the clipboard.
  • full-screen bitmap capture, paste into mspaint: print-screen. this puts it on the clipboard. then you paste into mspaint. this does not do a text capture, this is a photo/image.
  • window bitmap capture, paste into mspaint: alt-print-screen. this puts it on the clipboard. then you paste into mspaint. this does not do a text capture, this is a photo/image.

in *nix you select an area of the xterm/terminal and ctrl-c.

making the cmd shell scroll longer

for my programs, you will need to set the buffer to at least 300 lines, I like setting mine to 9999.