Redirects command output from the command line to the Clipboard.
clip
| • | You can use clip to copy data directly into any application, such as Word, that can receive text from the Clipboard. |
To copy the list of contents in the c:\Windows folder to the Clipboard, at the C:\Windows prompt type:
dir|clip
To paste what you have copied into a WordPad document, start WordPad (or a similar text editor), click Edit, and then click Paste (or right-click, and then click Paste). The following text appears:
Volume in drive C has no label.
Volume Serial Number is B446-4F14
Directory of C:\Windows
05/22/2001 11:00 AM <DIR> .
05/22/2001 11:00 AM <DIR> ..
05/22/2001 11:14 AM <DIR> Ntsd
0 File(s) 0 bytes
3 Dir(s) 1,292,802,048 bytes freeTo copy the contents of Readme.txt to the Clipboard, type:
clip < readme.txt
To copy the output of the Generic.awk program to the Clipboard, type:
awk -f generic.awk input.txt | clip
| Format | Meaning |
Italic | Information that the user must supply |
Bold | Elements that the user must type exactly as shown |
Ellipsis (...) | Parameter that can be repeated several times in a command line |
Between brackets ([]) | Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} | Set of choices from which the user must choose only one |
Courier font | Code or program output |
| InitWizard("89c738cf-abe3-479a-bd9a-2ee72f9febf91033"); |