I the meantime i have tried to use a batch script which works, but the files seems to be locked when using the batchfile.
without the batchfile selected there is no problem.
if i stop and start the server the files are deleteable again.
any idea why?