Re: Can't delete directories




"DC." <jullape@xxxxxxxx> wrote in message
news:9ad1efc1.0504280723.995e5d@xxxxxxxxxxxxxxxxxxxxx
> Hi,
> I'm trying to delete the directories and files below a given
> directory, i have no problem deleting the files, but when i try to
> delete the directories, it complains, getlastError says that there
> could be any application using those directories. Is there any way to
> force those directories to be deleted?, the code is like follows:

An open search record on the directory may be contributing to the problem.
Do the FindClose before attempting directory removal.


.