clip - Redirects the command output from the command line to the Windows clipboard.
clip.exe | Microsoft Learn
dir | clip
Practice until you can't make it wrong.
clip - Redirects the command output from the command line to the Windows clipboard.
clip.exe | Microsoft Learn
dir | clip