Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem moving from mapped drives to UNC
Message
De
24/05/1998 09:40:56
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00100857
Message ID:
00101496
Vues:
67
>>
>>set defa to (gcWhereAmI)
>>
>>This way the app doesn't give a damn for its location - it knows where it is, uses it as the default path and all the relative paths follow from there.
>
>Yeah, I do this as well. He (Evan) was having difficulty defining a UNC path to his DBC and tables which are on a network drive while the APP is installed on local drive.

Ah, that's another geography. Should take the initial path from any file which surely resides at the target directory, remember it and explicitly Set Default to it. The rest should be the same. AFAI remember his problem (can't see previous messages in UT Nav), he wanted to avoid hardcoding the path. If he can make sure his app is launched in proper folder, he could just

Set Default to (curdir())

I think that, lacking the Set Default, relative paths get lost on the way, or am I wrong? If I am, what caused his problem then?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform