Thread: delete folder
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default delete folder

Note that RmDir requires that the folder be empty and then the deletion of
the folder is total and unrecoverable. I would recommend you use the Recycle
Bin which allows you to delete folders that are not empty and puts them in
the recycle bin so they can be restored, just in case. See
www.cpearson.com/Excel/Recycle.htm for example code.




"Chad" wrote in message
...
I'm using kill function to delete files. I'm having trouble using this to
delete folders. Can I use this to delete folders or is there a better
way?

Thanks,
Chad