Is there a function to delete a directory
including subs. Sort of like a complement to
the forcedirectory function. I will otherwise
have to give myself a refressher course on tree's.
I guess I could use a while loop to repeatedly
got thru an array but I see nothing but ugly in
that method. I have no problem deleting all files
in the directories.
I use the find functions to add directories to an
array then go thru the array and delete all files.
I could use a sort to arrange the items in descending
order starting with the subdirectories farthest from the base. I guess my question is which is the preffered
method.
Sort, Tree, whileLoop, other.
Thanks for all your help.
tomcruz.net
including subs. Sort of like a complement to
the forcedirectory function. I will otherwise
have to give myself a refressher course on tree's.
I guess I could use a while loop to repeatedly
got thru an array but I see nothing but ugly in
that method. I have no problem deleting all files
in the directories.
I use the find functions to add directories to an
array then go thru the array and delete all files.
I could use a sort to arrange the items in descending
order starting with the subdirectories farthest from the base. I guess my question is which is the preffered
method.
Sort, Tree, whileLoop, other.
Thanks for all your help.
tomcruz.net