You are here: Function Reference > Alphabetical Listing > P > PathExist

PathExist

Use this function to take the parameter path you provide and check for its existence. This function does not create subdirectories.

Note The PathCreate and PathExist functions let you create paths and verify that paths exist. These are useful, for instance, if you are trying to create printed output and organize that output into subdirectories on disk. You can do this using one of the print callback methods that support a DAL script.

Syntax

PathExist (Path)

Parameter

Description

Path

Enter the full path you want the system to verify.

The system returns zero (0) if the path is invalid. Anything else indicates the path you provided exists.

Note This function merely checks for the existence of the path you specified. Provided the path does exist, this is not an indication that the process will be able to access or create files within that path.

See also