Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP won't overwrite a file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01142411
Message ID:
01143148
Vues:
8
Thanks, Christof. That's very interesting to know. However, I'm not sure that is the problem here. This is on a local drive, the attributs of the parent folders are not system or hidden and have not changed, and the same exact code was executing, so why would it work sometimes and then later decide to throw an error?

Russell

>Hi Russell,
>
>>I have a weird situation where I'm generating some text files and VFP tells me the file name is an invalid path/filename.
>
>That happens when one of the parent direcories has the hidden or system attribute set. Some parts in VFP deal with this properly, others try to validate the file name by parsing the full path from the root down to the file. That code ignores hidden and system files making VFP assume that the directory does not exist. Hence, the error. You can see this pretty good with FILEMON from sysinternals.
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform