PATH EXIST This command will return an integer value of one if the specified path exists, otherwise zero is returned.
Syntax
    Return Integer=PATH EXIST(Path String)
Parameters
    Path String
String The path name to check
Returns
A value of one if the specified path exists, otherwise zero is returned. You can use this command to check whether a directory exists
Description
You can use this command to check whether a directory exists.
Example Code
    cls

    print "path exist= "+path exist(c:\rubarb)

    do

    loop

    end
See also
FILE Commands Menu Index