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! ☕

Have a question⁉ Contact me.