@echo off
rem Check to see if any files reside in ..\YourData. If there are none this must be a new install for a new user.

for /F %%N in ('dir /B "..\YourData\*" ^| find /V /C "DefaultData"') do (if %%N EQU 0 copy ..\YourData\DefaultData\*.* ..\YourData\)

rem cmd /c "..\IsectD\execd 5502 > execd.log"
start /MIN ..\IsectD\execd 5502
start /MIN ..\IsectD\isectd -p 5501
start /w ..\IsectD\isdClient -h localhost:5501 -i isectConfig.ini

rem We need to wait so that the workers we have started have enough time to call back to Isectd and register themselves. The line below lets us pause for 5 seconds giving them time to do so.

cscript sleep.vbs 5

start ..\IsectD\isdClient -h localhost:5501 -c "start all"


