Set protection for a file or directory
Source position: amigados.pas line 1721
function SetProtection( |
const name: pCHAR; |
protect: LongInt |
):LongBool; |
const name: string; |
protect: LongInt |
):Boolean; |
name |
|
Name of File |
protect |
|
Protection Mask required |
name |
|
Name of File |
protect |
|
Protection Mask required |
Sets the protection attributes on a file or directory. Use FIBF_* for protection bits. The archive bit should be cleared by the filesystem whenever the file is changed. Backup utilities will generally set the bit after backing up each file.
|
Change a files' comment string |
|
|
Examine a directory or file associated with a lock |
|
|
Examine the next entry in a directory |