Export (0) Print
Expand All
Arp
At
Cd
Cls
Cmd
Del
Dir
Fc
For
Ftp
If
Ldp
Lpq
Lpr
Md
Mmc
Msg
Nlb
Rcp
Rd
Reg
Rem
Ren
Rsh
Rsm
Rss
Sc
Set
Sfc
Ver
Vol
Expand Minimize
6 out of 8 rated this helpful - Rate this topic

Clip

Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Vista

Redirects command output from the command line to the Windows clipboard. You can then paste this text output into other programs.

For examples of how to use this command, see Examples.

<Command> | clip
clip < <FileName>

 

Parameter Description

<Command>

Specifies a command whose output you want to send to the Windows Clipboard.

<FileName>

Specifies a file whose contents you want to send to the Windows Clipboard.

/?

Displays help at the command prompt.

You can use the clip command to copy data directly into any application that can receive text from the Clipboard.

To copy the current directory listing to the Windows clipboard, type:

dir | clip

To copy the output of a program called Generic.awk to the Windows Clipboard, type:

awk -f generic.awk input.txt | clip

To copy the contents of a file called Readme.txt to the Windows Clipboard, type:

clip < readme.txt

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.