Deleting a directory
Posted on 1998-11-12
i am currently using SHFileOperation to manipulate my files... it's OK but too inflexible, for example, it will leave things untidy if i try to delete a directory and its got locked files.
I was wondering if someone has written a better piece of code to delete all files and subdirectories from a directory using Delphi's normal file operations like reset, erase, etc..
This will give me more control in my application, ie i know exactly which files are locked, and handle them later...