title: .exe Never Throws Errror
body: <p>I am tackling what should be a VERY simple solution to a problem.  In short, I am calling WinSCP.com, to SFTP files as:</p>
  
  <pre><code>WinSCP.com /nointeractiveinput /command "open sftp://!Username!:!Password!@!Host! -hostkey="*"" "put !FolderName! !EgressPath!" "exit" &gt;&gt;MasterLog.txt
  
  IF %ERRORLEVEL% NEQ 0 (
      echo ERROR: SFTP error on folder: !FolderName!&gt;&gt;MasterLog.txt
      exit
  )
  </code></pre>
  
  <p>However, during integration testing, with or without passing the output to MasterLog.txt, this program literally NEVER throws an error, even dropping parameters, fake passwords. etc.</p>
  
  <p>I feel like I am going crazy as almost all .exe when called from command line will fail occassionally and throw an error that is not "0", this ALWAYS returns "0"...no matter what</p>
  
  <p>What could be going wrong?</p>