Forum Discussion
Pavel_1
16 years agoContributor
Hi,
You can also check file attributes via aqFileSystem object
function IsReadOnly(Path)
{
if ((aqFileSystem.GetFileInfo(Path).Attributes & aqFileSystem.faReadOnly) == aqFileSystem.faReadOnly)
return true; //file is read-only
else
return false; //file is not read-only
}
You can also check file attributes via aqFileSystem object
function IsReadOnly(Path)
{
if ((aqFileSystem.GetFileInfo(Path).Attributes & aqFileSystem.faReadOnly) == aqFileSystem.faReadOnly)
return true; //file is read-only
else
return false; //file is not read-only
}