Home > Commands A-M > Commands Ch-Cz

CLIP


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Copy the result of any command to the Windows clipboard.


Syntax

command /?

command | CLIP


Parameters

none.


Switches
/? (NT2003)
Display help.

Related

Script-It - Control GUI applications
SET - Display, set, or remove Windows NT environment variables
Equivalent Linux BASH commands:
export - Set an environment variable


Notes

When using clip in a batch script you should warn the user that their clipboard is about to be overwritten.


Examples
    DIR | CLIP

    DATE /t | CLIP

Errorlevels

none.


Availability
External
Windows NT
NT2003
External Resource Kit
DOS
none
Windows
none
Windows NT
NT4

Last Updated: 2003/07/28
Direct corrections or suggestions to: Rick Lively