The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



DirIsReadOnly


Unit:SDL_filesys
Class:none
Declaration:function DirIsReadOnly (Dir: string): boolean;

The function DirIsReadOnly returns a TRUE value if the directory specified by the parameter Dir is read-only.

Hint: Please note that the directory is actually tested by trying to create a file in the directory. As an alternative the file attributes of the directory could be read and evaluated.


Last Update: 2012-Oct-20