Output command line or text from file to clipboard

Windows has a utility clip.exe that allows you to send command line output or text from a file to the clipboard.

We place the list of files and folders from the C:\Windows folder to the clipboard.

cd/d C:\Windows && dir | clip

File content to clipboard

clip < C:\Windows\System32\drivers\etc\hosts</code

Размер: 38 B, дата: 25 Jun. 2021

Author: admin