Pipe cmd output to clipboard

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: Dorian (MJT support), JRL, Phil Pendlebury, Rain

Post Reply
User avatar
Automation Wizard
Posts: 360
Joined: Fri Aug 10, 2012 2:38 pm
Location: Hudiksvall, Sweden

Pipe cmd output to clipboard

Post by Grovkillen » Thu Oct 18, 2018 12:56 pm

I just found out that instead of piping the results of a cmd line to an external file you can pipe them the the clipboard like this:

Code: Select all

dir /s *.pdf | clip

Running: MS14.5.4

Post Reply