title: How to execute WinSCP commands from a batch file
body: <p>I wanna know if there is a way to run WinSCP commands like <code>open sftp...</code>, from a batch file, without having to enter commands after WinSCP opens up.</p>
  
  <p>Here's what I wanna happen:</p>
  
  <ol>
  <li>I create a batch file (say <code>demo.bat</code>) that opens WinSCP command-line.</li>
  <li>I insert WinSCP commands (<code>open</code>, <code>get</code>, <code>put</code>, etc.) in <code>demo.bat</code>.</li>
  <li>The batch file <code>demo.bat</code> opens up WinSCP command-line and executes the commands (<code>get</code>, <code>put</code>, etc.) automatically. </li>
  </ol>