Copy input content to the Windows clipboard. More information: https://learn.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