title: How to pass the contents of a file as a parameter on the command line?
body: <p>Assume I want to run</p>
  
  <pre><code>&gt;foo bar
  </code></pre>
  
  <p>but <code>bar</code> changes depdending on where I am in my filesystem. What I'd like to do, so I don't have to remember the proper value of <code>bar</code>, is to keep a file <code>fizz</code> in the respective folders so I can do something like call</p>
  
  <pre><code>&gt;foo fizz
  </code></pre>
  
  <p>which of course doesn't work out of the box.
  Neither does</p>
  
  <pre><code>&gt;foo &lt; fizz
  </code></pre>
  
  <p>because <code>foo</code> doesn't expect input, just a parameter. I found a <a href="https://stackoverflow.com/questions/6585064/how-to-pass-command-line-parameters-from-a-file">solution for Linux</a>, but nothing for Windows.</p>