MS-DOS and Windows command line clip command
Updated: 12/30/2021 by Computer Hope

The clip command redirects the output of command line tools to the Windows clipboard. This text output can then be pasted to other programs.
Availability
Clip is an external command and is available for the following Microsoft operating systems.
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.