I use batch files to perform repetitive/tedious GIS tasks outside of a GIS environment. I am looking for ways to improve performance. An easy way is for scripts that are currently run concurrently and don't rely on each other to be run in parallel. My current batch file is as below
c:\pathtopython c:\pathtopythonscript1
start c:\pathtopython c:\pathtopythonscript2a
start c:\pathtopython c:\pathtopythonscript2b
start c:\pathtopython c:\pathtopythonscript2c
start c:\pathtopython c:\pathtopythonscript2d
c:\pathtopython c:\pathtopythonscript3
When run, it will run though the first, then start and run the 4 versions of 2 in parrallel but fail to run script 3. I'm wondering if there was a way to delay the running of script 3 until all version of script 2 have finished.