Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete this file
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01077325
Message ID:
01077344
Vues:
36
>Edgar,
>
>Delete rights?
>
>Are any of the folders marked hidden and/or system?
>
>>>Try changing to DELETE FILE (fdir + fname) or DELETE FILE (cDestinationHName) as the file name has spaces that can make the macro expansion fail
>>
>>DELETE FILE cDestinationHName  && File does not exist
>>DELETE FILE &cDestinationHName && File does not exist
>>DELETE FILE (cDestinationHName) && File has been deleted
>>
>>
>>NOT
>>
>>The file is still there

Just needed the parenths

Strange - it seems that I've never had problem with the DEL macro B4
Edgar L. Bolton, B.S. B.B.A.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform