Is_Archive - Check if the File is Archived

Valid on NetWare, Windows, and Windows CE
cla140
Valid on NetWare, Windows, and Windows CE
The Is_Archive function checks the file for the specified attribute.
Function format:
Is_Archive(filename as String) as Boolean
  • filename
    This parameter identifies a file path.
The function returns TRUE if the file is archived; otherwise, it returns FALSE.
Example:
If Is_Archive(Argv(1)) Then print(Argv(1) + " indicates 'Archive'.") Else print(Argv(1) + " does not indicate 'Archive'.") End If