dolphins Posted October 23, 2015 Posted October 23, 2015 Hello,I am trying to delete the empty folder "c:\temp\xyz" with FileDelete("c:\temp\xyz"). I also tried it with a "\" at the end. In both cases @error is set to 0 and @Extended is set to 18 and the folder isn't deleted. I can delete/create the folder in Windows Explorer.Any help on this?RegardsDolphins
ViciousXUSMC Posted October 23, 2015 Posted October 23, 2015 (edited) Can you show your code?I am assuming your using FileDelete() but its not a file its a directory so try DirRemove() Edited October 23, 2015 by ViciousXUSMC
dolphins Posted October 23, 2015 Author Posted October 23, 2015 Yes, you are right. I guess I did misread the documentation. I thought FileDelete can also remove an empty folder (directory), but it can't. Thanks!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now