Is there an easy way to determine if a user has write access rights to a 
particular directory.

Basically all I want to do is, from within a programme save a file to a 
default directory.  i've been doing this for years with no problem but 
recently one user had a problem because he didn't have access rights.
So before attempting to write the file I'd like to check those rights.  
A web and documentation search has yielded no help, and I've adopted the 
crude stop gap method of trying to save the file, if unsuccessful then 
the user is offered a chance to choose his own directory.
There must be a more elegant way to do this????

-- 
Regards,

Tony Foale
EspaƱa / Spain

www.tonyfoale.com
[EMAIL PROTECTED]

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to