title: How to pass additional extra arguments to a batch file?
body: <p>I would like to use first 2 arguments passed to a batch file and then append everything else to the command executed in the batch file.</p>
  
  <p>Is there an easy way to do that?</p>
  
  <pre><code>// batch file
  command -Duser=%1 -Dpwd=%2 {? how to pass all remaining arguments on the command line}
  </code></pre>
  
  <p>The batch will be executed like this</p>
  
  <pre><code>batch.bat USR PWD -Dargument1=1 -Dargument2=2
  </code></pre>
  
  <p>Effectively, I would like the following to be executed</p>
  
  <pre><code>command -Duser=USR -Dpwd=PWD -Dargument1=1 -Dargument2=2
  </code></pre>