File\_SetTreeAttributes
Description
Section titled “Description”Sets attributes on a directory
Syntax
Section titled “Syntax”File_SetTreeAttributes(sDir, iAttribute) As Boolean
Parameters
Section titled “Parameters”sDir (String)
Directory name
iAttribute (Integer)
Attribute to remove
Example
Section titled “Example”VBScript
If bStatus Then bStatus = File_SetTreeAttributes("C:\CapaInstaller", FILE_READONLY)Related functions
Section titled “Related functions”File_RemoveFileAttributes File_SetFileAttributes