title: Executing a jar file through batch script
body: <p>I am trying to execute a .jar file(final output is a signature valid for few mins) through batch file.</p>
  
  <h2>Manual Steps in Jar</h2>
  
  <ol>
  <li>Execute jar with java -jar command</li>
  <li>Input value1,value2,value3,value4,value5 (Interactive)</li>
  <li>Signature is generated.(Output)</li>
  </ol>
  
  <p>Please refer below command prompt for clarity.</p>
  
  <pre><code>Microsoft Windows [Version 6.1.7601]
  Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
  C:\Users\611411820\Downloads&gt;java -jar pas-signature-1.0.0.jar
  Signature generation started
  Enter key generate signature
  userinput1
  Enter the Value1 :
  userinput2
  Enter the Value2 :
  userinput3
  Enter the Value3 :
  null
  Enter the Value4 :
  null
  Signature generated is jLriqf5h8rVkDr9h+X7rVa2a7aRtd8xXzoYa7mv2JQs=
  Signature generation ended
  </code></pre>
  
  <h2>Requirement</h2>
  
  <ol>
  <li><p>The batch file should read the userinputs(userinput1,userinput2,userinput3,null,null) from text file and paste the Signature generated in another text file.</p></li>
  <li><p>Requirement is to generated 2000 signatures.</p></li>
  </ol>