Product Site

8.37. SysIsFileEncrypted (Windows only)

Checks if a file is encrypted. This function does not support wildcard specifications.

Parameters:
filename

The name of the file to check.

Returns:
0

The file is not encrypted or does not exist.
1

The file is encrypted.
Example 8.28. RexxUtil — SysIsFileEncrypted
if SysIsFileEncrypted(InputFile) then say "File is encrypted!"
else say "File is not encrypted or does not exist."