Skip to content

File_RemoveFileAttributes

Removes specified attributes on file. Other attributes on the file aren’t changed.

File_RemoveFileAttributes(sFile, iAttribute) As Boolean

Filename

Constants to remove

The file must exist. If it doesn’t, the function returns False.

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

Scripting Guidelines

File_SetFileAttributes File_SetTreeAttributes