Copy input content to the Windows clipboard. More information: https://docs.microsoft.com/windows-server/administration/windows-commands/clip.
{{dir}} | clip
clip < {{path/to/file.ext}}
echo {{some text}} | clip
echo | set /p="some text" | clip