Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan no running
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01418319
Message ID:
01418465
Vues:
59
> 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform