Easy way to copy to clipboard from windows command line

I often type long command lines at the Windows command prompt. When I get a failure, I want to copy this command line to the clipboard so that I can use it in my debugger.

Using Edit-> Mark is really inconvenient when the command line has more than one line. Is it easy to copy the command line to the clipboard?

+3
source share
2 answers

Using Console2: http://sourceforge.net/projects/console/ you can move + drag to make a selection. Or you can go to the settings in the CMD and turn on the quick selection mode.

0

doskey /history | clip - . , , .

+7

Source: https://habr.com/ru/post/1778669/


All Articles