Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP does not recognize a Mapped Drive
Message
De
10/06/2020 14:26:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01674820
Message ID:
01674838
Vues:
76
Hi

TO start Explorer from command window you can give following command
!explorer




YES!! - You are on to something.
I just did the command SUBST like you said from Admin window and it seems to work with FILE command in VFP.
The only problem is, now it doesn't show in Windows Explorer.

So, I ran EXPLORER from Admin command Window (like you suggested).
Then did Share them for everyone
Then mapped Network Drive from Tools menu and now these drives look fine from Windows Explorer, and VFP does recognize them.
Problem SOLVED!

THANK YOU SO VERY MUCH. .
Cyrus


Easier way maybe to start Windows Explorer from Admin CMD window. What do I use to start Windows Explorer from Command Window?



>Hi Cyrus
>
>I just remember, i also got the same issue some time back and what i remember vaguely is it was due to "RUN AS ADMINISTRATOR" while mapping a drive or running foxpro program.
>
>Now i just checked the below scenario
>- i used "subst" command on dos prompt for mapping a drive
>- i opened CMD prompt as administrator and given command "subst f: d:\test"
>- this will map my "d:\test" folder as "F:" drive
>- now when i check file "file(f:\aa.fxp") from foxpro command window it returns .T.
>
>AND The same sequence of steps i done when i open CMD PROMPT not as admin and issue command "subst f: d:\test"
>- it shows mapped drive in Windows explorer but it returns .F. when i check "file(f:\aa.fxp") from foxpro command
>
>Thanks
>Mukesh Khandelwal
>
>
>Yes, once I map the folder as F: drive, it does show as F: drive in Windows Explorer.
>It is also important to mention, using the Command Window, I can issue F: enter
>and it does to F: drive.
>
>No, running it as Admin did not make a difference. It still does not recognize any of mapped drives.
>
>Thank you for your comments.
>Cyrus
>>Hi
>>
>>As per your problem description, i think you can see mapped drive in windows explorer as "F:\".
>>
>>Try to run VFP application as Administrator and check.
>>
>>Thanks
>>
>>
>>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.
>>'
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform