Filed under “I didn’t know you could do that”.
Something I discovered recently I thought it was one of those things I’d just missed over the years but after a conversation I had in the office I thought it might be worth sharing here too.
Normally when working with the command prompt if you want to copy some output you have to switch from the keyboard to the mouse.
Which is fine, but if you’re working with the keyboard (because you know, command prompt!) switching between that and the mouse can break your flow, well it does for me.
Turns out you can redirect generic for ativan pill identification output straight to the clipboard by piping to clip.exe
Ping google.com | clip
The output goes to the clipboard ready for pasting elsewhere.
This is also particularly useful if the output is long and fills the visible area of the screen.
This is the output from “DriverQuery”, you’d have hard time copying all of that with the mouse
Useful thing to know!
This works in PowerShell too and it’s where I use it most.
Latest posts by Andy Parkes (see all)
- Error 0x80073701 When Adding Or Removing Server Roles - February 16, 2019
- Recording Personal Bests With Strava - August 29, 2018
- Windows 10 Broken After 1803 install - July 20, 2018