Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP does not recognize a Mapped Drive
Message
De
10/06/2020 09:54:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01674820
Message ID:
01674826
Vues:
69
J'aime (1)
>I have VFP 8 application that has been working for more than 20 years especially with respect to this issue.
>
>Couple days ago, I find out that I have a tracking malware that I needed to get rid of. So I downloaded both Norton 360 and Spy Hunter 5 to get rid of it.
>
>After I ran the Scan then all of a sudden VFP no longer recognizes a Mapped Drive!!
>For example If I share a Directory called c:\Drive_F for "everyone Read/Write" and then use the Tools menu and Map it as F: drive. The following happens;
>
>? FILE('F:\test.txt') produces .F. while
>? FILE('c:\Drive_F\test.txt') produces .T.
>
>I have tried deleting the folder and remapping it. Or
>redoing the sharing, Or
>Uninstalling both Norton and Spy Hunter, ...
>
>It seems like the Anti-Virus has changed something in the Environment that makes VT no longer see a mapped drive. Also any application that runs from within VFP no longer see the mapped drive. I could also be legacy applications have this issue.
>
>Anyway, I need to fix it as soon as possible, and any help would be greatly appreciated.
>Thanks.
>'

Be aware that File() doesn't respect the specified path. So in your case, if it finds test.txt in another folder that is in your path, it will return true. Use Adir() instead.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform