Skip to content

Instantly share code, notes, and snippets.

View jgrunik's full-sized avatar

Joshua Grunik jgrunik

  • 23:43 (UTC +11:00)
View GitHub Profile
@joshschmelzle
joshschmelzle / win-clippy.md
Last active December 17, 2025 12:25
Copy win32 command line output to Windows Clipboard

To save the output of a command on the Windows clipboard, add a pipe* (|) operator to your command followed by the clip command.

Examples

dir | clip - copy the listing of current folder contents to the clipboard.

tree | clip - copy a recursive directory structure to the clipboard.

pwd | clip - copy the present working directory to the clipboard.