Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for existing files
Message
 
À
26/04/2000 18:20:40
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00363833
Message ID:
00364106
Vues:
85
Charles,

Apparently, VFP searches its own path as well when the directory passed to the FILE() is the root of a drive. This occurs even if the drive does not exist. If the directory is not the root of the drive, it does not. A simple workaround for this problem would be
lcpath = SET('PATH')
SET PATH TO
? FILE(lcfile)
SET PATH TO (lcpath)
This may be something that needs to be reported as either a doc error or a bug. I can't find anything on it in the MS KB.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform