General information
Category:
Coding, syntax & commands
>Hi all:
>
>I am attempting to first, delete an existing directory and all subfolders within that directory and then create a new directory with subdirectories where needed.
>
>I have tried the RMDIR and RD commands - but get a message that says "File Access is Denied". Clicking HELP tells me that I am trying to write to a protected file (whihc is not true).
>
>Any suggestions? Thank you in advance.
Make sure that you erase all files in each directory before you attempt to remove it and remove each directory starting from the lowest level up. If you are already doing this, it is probably a disk cache issue. You might try checking the directory with adir() to be sure that it is empty or perhaps include a delay to allow flushing of cached deletes.
HTH
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only