This command will return an integer value of one if the specified path exists, otherwise zero is returned. You can use this command to check whether a directory exists.

Syntax: 
Return Integer=PATH EXIST(Path String)