Hi Peter,
You can use WSH to get drive mapping.
oNet = CREATEOBJECT("Wscript.Network")
oDrives = oNet.EnumNetworkDrives()
FOR i=0 to oDrives.Length-1 STEP 2
? oDrives.Item[i], oDrives.Item[i+1]
ENDFOR
>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?
--sb--