Home NT Commands
NT Syntax

CLIP.exe (Resource Kit)

Copy the result of any command to the Windows clipboard.

syntax
      command | CLIP

      CLIP < filename.txt

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

For Example:


DIR | CLIP

DATE /t | CLIP


"The stupid neither forgive nor forget, the naive forgive and forget, the wise forgive but do not forget" - Thomas Szasz (The second sin)


Related Commands:

cmdtools.com - clip.zip - copy clipboard to a file
Script-It - Control GUI applications
SET - Display, set, or remove Windows NT environment variables

Equivalent Linux BASH commands:

export
- Set an environment variable



Simon Sheppard
SS64.com