Search notes:
clip.exe
clip.exe
allows to manipulate the
clipboard
from a command line application such as
cmd.exe
or
PowerShell
.
The output of a
cmd.exe command
can be redirected into the clipboard like so:
C:\>
findstr
foo xyz.txt | clip
The content of a file can be put into the clipboard with
C:\> clip < someFile.txt
See also
xclip
on Linux
Index