Michael:
R:Base eXtreme 9.1 (64) 9.1.5.20816
Ran your experiment, with and without database connected, with an empty folder.
No problem.
Ran same experiment, same variable value, having created one text file within the 'empty' folder.
Received error:
"Invalid path, not directory, or directory not empty (2270)"
Deleted the file, ran experiment with the same variable value.
No problem.
I submit that the path is incorrect, the name is incorrect, or the folder is not in fact empty. Perhaps a file with a hidden flag set.
Cheers,
Bruce
-------- Original Message --------
Subject: [RBASE-L] - Does Rbase Lock folders or change them to read
only? RMDIR is giving 2270 error
From: "Michael J. Sinclair" <[email protected]>
Date: Sat, August 25, 2012 12:55 pm
To: [email protected] (RBASE-L Mailing List)
Hi All,I am trying to use RBase to remove some empty folders. I also have RBase creating some empty folders. To remove the folders I use...RMDIR drive:\paththe actual code might be....SET VAR vemptyfolder TEXT = 'G:\Stuff\More_Stuff'RMDIR .vemptyfolderSometimes it fails especially if RBase created the folder. It is acting like the folder is in use.The error variable code I get is 2270Does Rbase somehow change the properties of folders to read only? Is there something I can to do make RBase "let go" of the folder it just made so the RMDIR command will work?Thanks.Mike

