[Overview][Constants][Types][Classes][Procedures and functions][Index] |
DirectoryIsWritable - checks if it is possible to write a file to the named directory
Source position: fileutil.pas line 74
function DirectoryIsWritable( |
const DirectoryName: String |
):Boolean; |
DirectoryName |
|
Name of the Directory for checking |
Returns True if successful in writing a temporary file to the named directory
DirectoryIsWritable - checks if it is possible to write a file to the named directory
Tries to create a text file within the named directory, and write to it. Returns True if it works, and False if it doesn't. Also raises an Exception on failure
An Exception is raised on failure to create or write to the temporary file
lazarus-ccr.sourceforge.net |