Pipe cmd output to clipboard

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

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

Post Reply
User avatar
Automation Wizard
Posts: 406
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