At 03:12 PM 6/11/2008, jan johansen wrote:

Razzak,

Thanks but same results. There is a directory called BACKUP but
not in the current directory. It's like maybe there is something
in the path that makes the CHKFILE look globally.

Jan,

In that specific scenario, you may have to specify the exact path.

If you are specifically looking for a folder in the current directory,
you may need to concatenate the exact path using the (CVAL('CURRDIR'))
function.

Here's how:

Example:

IF (CHKFILE((CVAL('CURRDIR'))+'\PDF')) <> 1 THEN
   MD PDF
ENDIF

Very Best R:egards,

Razzak.


Reply via email to