FairCom RTG COBOL Edition User's Guide
-exist
Checks to see if a path exists.
Usage
ctutil -exist path
where:
- path - File/Directory path without extension.
Upon successful completion, it returns one of the following:
- Path does not exist
- File does exist
- Directory does exist