function FileSetAttr(const FileName: string; Attr: Integer): Integer;
Description
FileSetAttr sets the file attributes of the file given by FileName to the value given by Attr. The value of Attr is formed by combining the appropriate file attribute constants, as in the following:
FileSetAttr('MyFile.sys', faReadOnly or faSysFile);
FileSetAttr returns zero if the function was successful. Otherwise the return value is a Windows error code.
Note: See TSearchRec for a description of the file attribute constants.
FileSetAttr()이 있습니다.
아래내용은 도움말의 원문입니다.
Sets the file attributes of a specified file.
function FileSetAttr(const FileName: string; Attr: Integer): Integer;
Description
FileSetAttr sets the file attributes of the file given by FileName to the value given by Attr. The value of Attr is formed by combining the appropriate file attribute constants, as in the following:
FileSetAttr('MyFile.sys', faReadOnly or faSysFile);
FileSetAttr returns zero if the function was successful. Otherwise the return value is a Windows error code.
Note: See TSearchRec for a description of the file attribute constants.
그럼, 후다다닥~~
i believe i can fly~~