Changes file attributes for files stored within the current archive file.
procedure ChangeFilesAttr(FileMask: String; NewAttr: LongWord);
Description
Call ChangeFilesAttr to change file attributes for files stored within the current archive file.
The FileMask parameter is the directory and file name mask, including wildcard characters. For example, 'TEST\*.*' specifies all files in the TEST directory stored within the archive file. All files that meets FileMask will be processed.
NewAttr specifies new file attributes. This parameter is similar to the Attr parameter in FindFirst function from SysUtils unit. You can set it to any combination of faReadOnly, faHidden, faSysFile, faVolumeID, faDirectory, faArchive constants defined in SysUtils.
|
|