isValidPathName

isValidPathName(name: String): Boolean;

The isValidPathName method of the FileFolder class returns true if the path specified in the name parameter is a valid path name.

The code fragment in the following example shows the use of the isValidPathName method.

if not myFolder.isValidPathName(dirName) then
    return false;
endif;