title: Run CodeSys V2.3 in batch mode
body: <p>I'm afraid I'm not making much progress on the 3S forums. So you lot are going to get pestered now!</p>
  
  <p>I'm using 3S Codesys v2.3 </p>
  
  <p>I'm trying to create a boot project and do sourcecode download on my build server and I'd like to avoid having any hardware plugged into it. I'm using the following command line to run Codesys: </p>
  
  <p>Build.bat:</p>
  
  <p><code>"C:\Program Files\3S Software\CoDeSys V2.3\Codesys.exe" OptimusPlcFirmware.pro /cmd Build.cmd /batch</code></p>
  
  <p>Build.cmd:</p>
  
  <p><code>echo on</code></p>
  
  <p><code>online sim off</code></p>
  
  <p><code>project rebuild</code> </p>
  
  <p><code>online bootproject</code> </p>
  
  <p><code>online sim</code> </p>
  
  <p><code>online login</code> </p>
  
  <p><code>online sourcecodedownload</code> </p>
  
  <p><code>online logout</code> </p>
  
  <p><code>online sim off</code> </p>
  
  <p>When I do this I get the windows "has encountered a problem and needs to close, with accompanying Send Error Report / Don't Send buttons" </p>
  
  <p>The boot project has been created succesfully and the sourcecode all seems correct. Can anyone explain what's happening? </p>
  
  <p>Thanks </p>
  
  <p>Matt</p>