hello
I need to search for all folders with a given name in a folder structure and delete them.
I tried to use the application.filesearch but it doesn't seem to return folders, only files.
example : folder to delete is 'TEST'
tree is :
f1
subf1
TEST
subf2
subsubf2
TEST
there would be two deletions needed
I know there is a filesytem object but I could'nt figure it out and I think I would need a recursive function to search all subfolders.
does anyone know a solution ?
thanks
Paul
I need to search for all folders with a given name in a folder structure and delete them.
I tried to use the application.filesearch but it doesn't seem to return folders, only files.
example : folder to delete is 'TEST'
tree is :
f1
subf1
TEST
subf2
subsubf2
TEST
there would be two deletions needed
I know there is a filesytem object but I could'nt figure it out and I think I would need a recursive function to search all subfolders.
does anyone know a solution ?
thanks
Paul