Product SiteDocumentation Site

8.42. SysIsFileOffline (Windows only)

>>-SysIsFileOffline(filename)----------------------------------><

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

Example 8.28. RexxUtil - SysIsfileoffline

if SysIsFileOffline(InputFile) then say "File is flagged as Offline!"
else say "File is not flagged as Offline."