File_RemoveFileAttributes
Description
Section titled “Description”Removes specified attributes on file. Other attributes on the file aren’t changed.
Syntax
Section titled “Syntax”File_RemoveFileAttributes(sFile, iAttribute) As Boolean
Parameters
Section titled “Parameters”sFile (String)
Section titled “sFile (String)”Filename
iAttribute (Integer)
Section titled “iAttribute (Integer)”Constants to remove
Remarks
Section titled “Remarks”The file must exist. If it doesn’t, the function returns False.
Example
Section titled “Example”If bStatus Then bStatus = File_RemoveFileAttributes("C:\CapaInstaller.txt", FILE_READONLY)