Product SiteDocumentation Site

8.38. SysIsFileDirectory


>>-SysIsFileDirectory(dirname)---------------------------------><

Checks for the existence of a subdirectory. This function does not support wildcard specifications.
Parameters:
dirname
The name of the subdirectory to check for the existence of.
Returns:
0
The subdirectory does not exist.
1
The subdirectory exists.

Example 8.24. RexxUtil - SysIsfiledirectory

if SysIsFileDirectory(InputFile) then say "Subdirectory Exists!"
else say "Subdirectory does not exist."