Windows has a utility clip.exe that allows you to send command line output or text from a file to the clipboard.
We place the list of files and folders from the C:\Windows folder to the clipboard.
cd/d C:\Windows && dir | clip
File content to clipboard
clip < C:\Windows\System32\drivers\etc\hosts</code