title: Use parameter as intermediate input in Batch File
body: <p>In a batch file, I am running exe which takes input from user. I want to hardcode value and continue process. check following example:</p>
  
  <p>In Bat File(GetData.bat):</p>
  
  <pre><code>set /p UserInput = Enter a number?
  %1
  </code></pre>
  
  <p>To call bat file:</p>
  
  <pre><code>GetData 5
  </code></pre>
  
  <p>but it's waiting for input instead of setting 5.</p>
  
  <p>Note: It's just for example actually i am calling exe which takes input in process. I can't modify exe.</p>