title: How can you get the clipboard contents with a Windows command?
body: <p>For example, I can copy a file to the clipboard like this:</p>
  
  <pre><code>clip &lt; file.txt
  </code></pre>
  
  <p>(Now the contents of <code>file.txt</code> is in the clipboard.)</p>
  
  <p>How can I do the opposite:</p>
  
  <pre><code>???? &gt; file.txt
  </code></pre>
  
  <p>So that the contents of the clipboard will be in <code>file.txt</code>?</p>