Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • On a related note, in the cmd window, left click the top left, then properties, then in the options tab, check the box that says quickedit mode. Now you can copy/paste fast. click hold and drag with the mouse over what you want to copy selecting it, press ENTER to copy. Right click to paste. Commented Jan 9, 2011 at 22:49
  • and to paste to the command line, right mouse click. to get it within a batch file, you will need to write a tiny script or executable in some other language like vbs, perl, c to do it or compile somebody elses stackoverflow.com/questions/1704455/… btw, .vbs uses wshextra.dll set clip = createobject("WshExtra.Clipboard") Looks like Perl does it in two tiny lines and needs no extra file. Commented Mar 22, 2012 at 18:13
  • and the webpage on petri's site that mentioned it though many others just link to the file. petri.co.il/quickly_copy_error_and_display_messages.htm Commented Dec 12, 2012 at 15:29
  • also that link mentions the raymond chen blogpost but also a comment on the answer there on this SO link mentions a comment on the raymond chen post that uses unxutils gclip and pclip stackoverflow.com/questions/1704455/… Commented Jul 28, 2015 at 20:18
  • 3
    However I see that clip.exe is available under Windows 10. Commented Mar 25, 2016 at 15:34