How to write cmd.exe output to console and clipboard at same time? -


in cmd.exe if run command, can see output on console, e.g, dir shows list of files on console. if use dir | clip, puts output on clipboard.

how put output on console , clipboard @ same time?

you use 3rd party program called paste display contents of clipboard, actual command's output:

http://www.c3scripts.com/tutorials/msdos/paste.html

the problem running command twice suggested in dinidu's answer if whatever reason output different on subsequent run not see same output on console on clipboard.

so this:

dir | clip & paste


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -