title: Run SSH commands in Batch (Windows)
body: <p>I need to login to the putty and run the below commands to complete the task.</p>
  
  <pre><code>putty.exe -ssh user@host -pw password -m c:\user\batchcommands.txt  
  </code></pre>
  
  <p><strong>1st Command :</strong></p>
  
  <pre><code>cd/u01/app/oracle/user_projects/domains/COLLECT/EOD/bin_arm
  </code></pre>
  
  <p><strong>2nd Command :</strong></p>
  
  <pre><code>./FileUpload.sh
  </code></pre>
  
  <p><strong>3rd Command :</strong></p>
  
  <pre><code>cd/u01/app/oracle/user_projects/domains/COLLECT/EOD/bin_arm
  </code></pre>
  
  <p><strong>4th Command :</strong></p>
  
  <pre><code>./execute_eodarx.sh
  </code></pre>
  
  <p>How can I run these commands serially (completion of previous command)?</p>