in reply to How do I delete a directory without emptying it first?

The question is: what would happen to the files in that directory after you delete it? Moved? Deleted? That's why most operating systems don't allow you to remove a directory that has any files in it. The operating system cannot guess what you want done with the files. You have to do something with them first.
  • Comment on Re: How do I delete a directory without emptying it first?