Clip command in Windows
Clip command redirects the command output from the command line to the Windows clipboard. You can then paste this text output into other programs.
Clip command redirects the command output from the command line to the clipboard (Windows clipboard) of Windows. You can then paste this text output into other programs.
For an example of how to use this command, please see the example below.
Clip command syntax
| clip clip <
Parameters
ParameterDescriptionNote: You can use the clip command to copy data directly to any application that can receive text from the Clipboard.
For example
To copy the current directory list to the Windows clipboard, enter:
dir | clip To copy the program output named Generic.awk into Windows Clipboard, enter:
awk -f generic.awk input.txt | clip To copy the contents of a file called Readme.txt into the Windows Clipboard, enter:
clip < readme.txt See more:
- The chcp command in Windows
- The chkntfs command in Windows
- Change command in Windows
Discover more
Share by
Micah Soto
Update 26 May 2019
You should read it
- Lesson 23: Insert Clip Art
- Set command in Windows
- Cmd command in Windows
- Fc command in Windows
- Command at in Windows
- The Quiet Details That Make a Sports Betting Platform Feel Reliable
- Instructions on creating toy set images with ChatGPT AI
- How are AI agents changing the journalism industry?
- What file is XLL? How to open, edit and convert XLL files
- Cmdkey command in Windows
- Color command in Windows