Page tree
Skip to end of metadata
Go to start of metadata

Description

Sets attributes on a directory

 

Syntax

File_SetTreeAttributes(sDir, iAttribute) As Boolean

 

Parameters

sDir (String)

Directory name

iAttribute (Integer)

Attribute to remove

 

Example

VBScript
If bStatus Then bStatus = File_SetTreeAttributes("C:\CapaInstaller", FILE_READONLY)

Scripting Guidelines

 

Related functions

File_RemoveFileAttributes File_SetFileAttributes

  • No labels