BOOL SetFileAttributes(
filename:string
dwFileAttributes:dword;
);
dwFileAttributes
FILE_ATTRIBUTE_READONLY-A file or directory that is read-only.
For a file, applications can read the file, but cannot write to it or delete it.
For a directory, applications cannot delete it.
|