timvh - 2011-05-20

When you create a batch file to start a script, it works best if you put it in the common folder of CoDeSys V3.
You can also use the following method:

Just create a .bat file and place the following text in this file (modify the path to your script):

rem all options: start /wait CoDeSys.exe --profile="..." --enablescripttracing --noUI --runscript="..."
pushd "C:\Program Files (x86)\3S CoDeSys\CoDeSys\Common"
start "MyScriptNameAsOption" /wait CoDeSys.exe --profile="CoDeSys V3.4 SP3 Patch 1" --enablescripttracing --runscript="C:\_d\Python\CommandLineStart\importXML.py"