>Let's say that a user has mapped a network drive to which he has read-only access. Is there an elegant way to programmatically determine the read-only status of that resource? The only way I can think of now is to try and create a new (temporary) file on the mapped drive (for example, with FCreate) and see if it succeeds or not. Isn't there a better way? Thanks very much!!
Mark,
Not really. Not only should you test the ability to write to the directory using FCreate, you should test to see if you have the ability to delete files by attempting to delete the temp file after creation and if the file still exists, you don't.
This information may/may not be important to you.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao