Example of "PreEveryForecast.bat" batch file where import for a particular protocol is called before forecast

set ARGGROUP=%3

set ARG=%6

set ARGGROUP=%ARGGROUP:"=% rem (Clean space around the import protocol name)

echo %ARGGROUP% %ARG% > Parameters.txt rem (Check how the arguments looks like to a text file)

goto %ARG%

:"PREFORECASTIMPORT"

"C:\inetpub\wwwroot\NewAiolosService\bin\AiolosConsoleUI-local.exe" /settingsfile:%ARGGROUP%.autopar /configuration:Educandi

goto End

:"Another argument"

"Do something here!

goto End

:End