/
File_SetFileAttributes
File_SetFileAttributes
Description
Sets specified attribute on file
Syntax
File_SetFileAttributes(sFile, iAttribute, bMustExist) As Boolean
Parameters
sFile (String)
Filename
iAttribute (Integer)
Attribute to set
bMustExist (Boolean)
File must exist
Example
VBScript
If bStatus Then bStatus = File_SetFileAttributes("C:\CapaInstaller.txt", FILE_READONLY, False)
Related functions
, multiple selections available,
Related content
File_SetFileAttributes
File_SetFileAttributes
More like this
File_SetFileAttributes
File_SetFileAttributes
More like this
File_RemoveFileAttributes
File_RemoveFileAttributes
More like this
File_RemoveFileAttributes
File_RemoveFileAttributes
More like this
File_RemoveFileAttributes
File_RemoveFileAttributes
More like this
File_RemoveFileAttributes
File_RemoveFileAttributes
More like this