Hi Fuentez, Jochen, etc.

First I want to thank you for the good and very helpfull responses !!!

thanx for your responses.... I'm now trying to get the script working. The only thing I now experience is a : File not found message when it wants to create the txt-file.(SHELL "%comspec% /c dir /b $dirarray[$counter] > $dirarray[$counter].txt")
Any suggestions what it can be ? When I use it with the script Bryce wrote, it works fine ! But i'm more interested in the Delroutine Fuentez wrote...

Again thx,
Jasper