Product SiteDocumentation Site

8.39. SysIsFileEncrypted (Windows only)


>>-SysIsFileEncrypted(filename)--------------------------------><

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.25. RexxUtil - SysIsfileencrypted

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