Page 1 of 1

delete folder not working

Posted: Mon Dec 15, 2014 12:45 am
by Steve Denney
Hi, I'm using 7.0.1 RC2 on windows 7 and I can’t seem to remove folders.
revDeleteFolder will certainly delete all the folder contents but neither delete folder folderName or revDeleteFolder folderName has any effect on the folder itself (whether empty or not).
Does anyone have any advice? Am I missing something obvious?
UAC is off so it’s not a permissions issue
Cheers

Re: delete folder not working

Posted: Mon Dec 15, 2014 1:05 am
by FourthWorld
What is the value of "the result" immediately after the failed attempt?

Is the folder you're trying to delete the default folder at the time you try to delete it?

Re: delete folder not working

Posted: Mon Dec 15, 2014 2:28 am
by Steve Denney
Thanks for replying Richard, yes the folder to be deleted is set to the default folder (ooh maybe it shouldn't be...)
Here's the result: 32 delResult
Cheers

Re: delete folder not working

Posted: Mon Dec 15, 2014 2:46 am
by Steve Denney
Thanks Richard, that's it. Apparently you can't delete the defaultFolder.
If the default folder is another folder then the delete is successful (new result is delResult). The app got the files and displayed them prior to potentially being deleted, that's why it was set as the defaultFolder.
Many thanks
Steve

Re: delete folder not working

Posted: Mon Dec 15, 2014 5:44 am
by FourthWorld
Happy to help. This is one of those things that seems logical, but only after you've spent hours finding the answer. We've all been there. :)