-
1
- #1
c2compliant
Programmer
Does anyone know how to check if a drive path is mapped and if not then map a network path on NT 4 using VB.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim objDrive As Object
Dim strLetter As String
For Each objDrive In CreateObject("Scripting.FileSystemObject").Drives
If objDrive.DriveType = 3 Then
If objDrive.ShareName = "\\server\share" Then
'already exists
strLetter = objDrive.DriveLetter
End If
End If
Next