|
-
May 17th, 2000, 05:35 PM
#1
Thread Starter
New Member
I need to be able to identify from the full path of a network drive from it's local letter.
E.G I know G: is a network drive, but I need to know that which network server it actually refers to e.g
\\Server1\Network1
How can I find this out in code?
-
May 20th, 2000, 07:24 AM
#2
Fanatic Member
In VBScript (or VB if you have the vbscript.dll) this is a simple procedure.
Dim fso, d
Set fso = CreateObject("Scripting.FileSystemObject")
Set d = fso.GetAbsolutePathName("G:")
The Variable d should return the network path you are looking for.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|