Copy File to Clipboard in Windows

Surprisingly, it’s very easy in Windows. Suppose I’d like to feed CMakeSettings.json to clipboard:

type .\CMakeSettings.json | clip

done! ☕


To contact me, send an email anytime or leave a comment below.