File_SetFileAttributes
Description
Section titled “Description”Sets specified attribute on file
Syntax
Section titled “Syntax”File_SetFileAttributes(sFile, iAttribute, bMustExist) As Boolean
Parameters
Section titled “Parameters”sFile (String)
Section titled “sFile (String)”Filename
iAttribute (Integer)
Section titled “iAttribute (Integer)”Constants to set
bMustExist (Boolean)
Section titled “bMustExist (Boolean)”File must exist
Example
Section titled “Example”If bStatus Then bStatus = File_SetFileAttributes("C:\CapaInstaller.txt", FILE_READONLY, False)