Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem moving from mapped drives to UNC
Message
From
24/05/1998 09:40:56
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00100857
Message ID:
00101496
Views:
68
>>
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform