Product Site

8.41. SysIsFileSparse (Windows only)

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 8.32. RexxUtil — SysIsFileSparse
if SysIsFileSparse(InputFile) then say "File is Sparse!"
else say "File is not Sparse."