File\_RemoveFileAttributes
Description
Section titled “Description”Removes specified attributes on file
Syntax
Section titled “Syntax”File_RemoveFileAttributes(sFile, iAttribute) As Boolean
Parameters
Section titled “Parameters”sFile (String)
Filename
iAttribute (Integer)
Constants to remove
Example
Section titled “Example”VBScript
If bStatus Then bStatus = File_RemoveFileAttributes("C:\CapaInstaller.txt", FILE_READONLY)Related functions
Section titled “Related functions”File_SetFileAttributes File_SetTreeAttributes