> try
>> DELETE FILE (anexosPath + ALLTRIM(email_anexo.ANEXO) )
> catch to loException
> ** Could be an invalid path here
> endtry>
I would also use ADDBS on the path to ensure that it ends with a backslash ( \ ):
DELETE FILE (ADDBS(anexosPath) + ALLTRIM(email_anexo.ANEXO))
Jon Rosenbaum
Devcon Drummer