b001
asked on
remove directory under windows8
Hi Experts
i have been using the following code to empty the folder then delete it thorough program
Erase (Addbs(lcDir) + laDirList(lnI, 1) + "\*.*")
Rd (Addbs(lcDir) + laDirList(lnI, 1))
I has been working fine on all operating system.
I have a new machine with OS Windows8 and it crashes when come to remove directory.
and the error says
The directory is not empty.
Please help
Thanks.
i have been using the following code to empty the folder then delete it thorough program
Erase (Addbs(lcDir) + laDirList(lnI, 1) + "\*.*")
Rd (Addbs(lcDir) + laDirList(lnI, 1))
I has been working fine on all operating system.
I have a new machine with OS Windows8 and it crashes when come to remove directory.
and the error says
The directory is not empty.
Please help
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
After that you could test changing the location of the folder (i.e. %temp%\app\data ) to a location not protected by Windows.