Copy the result of any command to the Windows clipboard.
command /?
command | CLIP
none.
Script-It - Control GUI applications
SET - Display, set, or remove Windows NT
environment variables
Equivalent Linux BASH commands:
export - Set an environment variable
When using clip in a batch script you should warn the user that their clipboard is about to be overwritten.
DIR | CLIP DATE /t | CLIP
none.