MS-DOS and Windows command line clip command
The clip command redirects the output of command line tools to the Windows clipboard. This text output can then be pasted into other programs.
Clip is an external command and is available for the following Microsoft operating systems.
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.
- See our clipboard definition for further information and related links on this term.