clip.exe
, that can be used to quickly copy something into the clipboard from cmd.exe
.
For example, if I wanted to copy the current working directory into the clipboard, I'd go
C:\some\long\and\complicated\path>echo %CD% | clip
Similarly, if I needed to copy all files within the current directory, I'd do
C:\some\path>dir /b | clip
Also, I can copy the content of a file into the clipboard like so:
C:\some\path>clip < someFile.txt
No comments:
Post a Comment