ECHO OFF

ECHO "Programmlauf wird gestartet. Bitte warten ..."

start /min cmd /C ATTRIB -R ALG_AS\*.LCK
start /min cmd /C ATTRIB -R ALG_AS\*.LP
start /min cmd /C ATTRIB -R ALG_AS\*.HD
start /min cmd /C ATTRIB -R ALG_AS\*.LOG
start /min cmd /C ATTRIB -R ALG_AS\*.TXT
start /min cmd /C ATTRIB -R ALG_AS\*.SML

start /min cmd /C ATTRIB -R ALG_MAIN\*.LOG
start /min cmd /C ATTRIB -R ALG_MAIN\*.TXT

start /min cmd /C ATTRIB -R DATA\*.*

cd ALG_AS
start /min ..\Windows.JRE\SUN_JRE.160_06\jre\bin\java -Xbootclasspath/a:.\;../Tools/BouncyCastle/bcprov-jdk16-139.jar -jar ALG_AS.JAR
cd ..

cd ALG_AS
start /min ..\Windows.JRE\SUN_JRE.160_06\jre\bin\java -Xbootclasspath/a:.\;../Tools/Windows.COM/RXTXcomm.jar -jar KoaLaCoS.JAR localhost 21100 3 10000 0
cd ..



cd ALG_WAIT
start /min /wait ..\Windows.JRE\SUN_JRE.160_06\jre\bin\java -jar ALG_WAIT.JAR 
cd ..



cd ALG_MAIN
..\Windows.JRE\SUN_JRE.160_06\jre\bin\java -jar ALG_MAIN.JAR localhost 21099 5000 0 2
cd ..



cd ALG_STOP
start /min /wait ..\Windows.JRE\SUN_JRE.160_06\jre\bin\javaw -jar ALG_STOP.JAR
cd ..

cd ALG_STOP
start /min /wait ..\Windows.JRE\SUN_JRE.160_06\jre\bin\javaw -jar ALG_STOP.JAR localhost 21100
cd ..
