File_RemoveFileAttributes

Description

Removes specified attributes on file


Syntax

File_RemoveFileAttributes(sFile, iAttribute) As Boolean


Parameters

sFile (String)

Filename

iAttribute (Integer)

Attribute to remove


Example

VBScript
If bStatus Then bStatus = File_RemoveFileAttributes("C:\CapaInstaller.txt", FILE_READONLY)

Scripting Guidelines


Related functions

File_SetFileAttributes File_SetTreeAttributes