cmd - How can you get the clipboard contents with a Windows command? -
for example, can copy file clipboard this:
clip < file.txt
(now contents of file.txt
in clipboard.)
how can opposite:
???? > file.txt
so contents of clipboard in file.txt
?
you can use paste.exe software in order paste text describing.
http://www.c3scripts.com/tutorials/msdos/paste.html
with can do:
paste | command
to paste contents of windows clipboard input of specified command prompt
or
paste > filename
to paste clipboard contents specified file.
Comments
Post a Comment