Product SiteDocumentation Site

8.37. SysIsFileCompressed (Windows only)


>>-SysIsFileCompressed(filename)-------------------------------><

Checks if a file is compressed. This function does not support wildcard specifications.
Parameters:
filename
The name of the file to check.
Returns:
0
The file is not compressed or does not exist.
1
The file is compressed.

Example 8.23. RexxUtil - SysIsfilecompressed

if SysIsFileCompressed(InputFile) then say "File is compressed!"
else say "File is not compressed or does not exist."