B
biggerbyfar
Hi All,
I need a script to delelte the contents of a folder periodically as an
scheduled task. Is there a simple way to delete the contents of a
folder including subfolders?
The problem with RD is that it removes the directory itself (and all
contents). I could recreate the folder again but it would loose the
security permissions which are important as this is a netowork share.
Any ideas?
I need a script to delelte the contents of a folder periodically as an
scheduled task. Is there a simple way to delete the contents of a
folder including subfolders?
The problem with RD is that it removes the directory itself (and all
contents). I could recreate the folder again but it would loose the
security permissions which are important as this is a netowork share.
Any ideas?