Hello,
I want to check if a certain directory exist with the SEARCH function. I tried the following code:
DEFINE VARIABLE cPath AS CHARACTER NO-UNDO.
cPath = SEARCH("e:\test\").
MESSAGE cPath VIEW-AS ALERT-BOX.
RETURNS ?
DEFINE VARIABLE cPath AS CHARACTER NO-UNDO.
cPath = SEARCH("e:\test").
MESSAGE cPath VIEW-AS ALERT-BOX.
returns ?
I tried it with directorys inside my propath and outside. What is wrong?
Kind regards,
Tom
I want to check if a certain directory exist with the SEARCH function. I tried the following code:
DEFINE VARIABLE cPath AS CHARACTER NO-UNDO.
cPath = SEARCH("e:\test\").
MESSAGE cPath VIEW-AS ALERT-BOX.
RETURNS ?
DEFINE VARIABLE cPath AS CHARACTER NO-UNDO.
cPath = SEARCH("e:\test").
MESSAGE cPath VIEW-AS ALERT-BOX.
returns ?
I tried it with directorys inside my propath and outside. What is wrong?
Kind regards,
Tom