Checks for the existance of a folder

subscripciones

New Member
for files:

def var file as char no-undo.
def var f as char.
file = "helloworld.p".
FILE-INFO:FILE-NAME = file.
f = FILE-INFO:FULL-PATHNAME.
IF f <> ?
THEN DO:
DISPLAY "Exist".
END.
ELSE DO:
DISPLAY "Not Exist".
END.

the same for directories?

thanks
 
Top