Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Matching drive letters and URL's
Message
From
04/02/2004 06:46:53
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00873335
Message ID:
00873793
Views:
13
>Hi all,
>
>Here's my current problem. I have several variables that hold folder names. Some of them contain a URL, like "\\F0D0010\APPS\MYAPP\DATA", wheras others are drive letter oriented, like "F:\MYAPP\DATA" where F: might be a drive mapping to "\\F0D0010\APPS".
>
>I need a routine that tells me about an eventual match, like in:
>
cVar1 = "F:\MYAPP\DATA"
>cVar2 = "\\F0D0010\APPS\MYAPP\DATA"
>*
>? FoldersAreSame( cVar1, cVar2 )
>Who can put me on the right track?

Where I wrote URL, I mean UNC.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform