About clip
Availability
Clip syntax
Clip examples
About clip
Redirects output of command line tools to the Windows clipboard. This text output can then be pasted into other programs.
Availability
The clip command is an external command and is available in the below Microsoft operating systems.
Windows Vista
Windows 7
Windows 8
Windows 10
Clip syntax
CLIP
Clip examples
dir | clip
Places a copy of the current directory
listing into the Windows clipboard.
clip < readme.txt
Places a copy of the text from readme.txt on to the Windows clipboard.
echo off | clip
Clear the contents of the Windows clipboard
ipconfig /all | clip
Use the ipconfig command to display all network information and output the contents to the Windows clipboard.
Additional information
- See our clipboard definition for further information and related links on this term.