Skip to content
In Windows, it is possible to copy the output from a command in cmd.exe directly to the clipboard, without requiring any mouse or other interaction. This can be helpful if you need to copy the output of larger commands, like ipconfig to a forum or another place, where redirection into a file using the > or >> operators might not be optimal. Here’s how it works:
Piping output to the clipboard The command we need to use is C:\Windows\System32\clip.