SysIsFileSparse (Windows only)

>>-SysIsFileSparse(filename)-----------------------------------><

Checks if a file is flagged as Sparse. This function does not support wildcard specifications.

Parameters:

filename

The name of the file, subdirectory or link to check.

Returns:

0

The file is not flagged as Sparse or does not exist.

1

The file is flagged as Sparse.

Example:

if SysIsFileSparse(InputFile) then say "File is Sparse!"
else say "File is not Sparse."