The Rev
Registered User.
- Local time
- Today, 00:53
- Joined
- Jan 15, 2003
- Messages
- 118
Trying to see if a drive is mapped before I run some code on that drive path from my database. It may be empty so fileExists or FolderExists won't help. It's supposed to work simply, but I'm getting the" Object doesn't support this". Banging my head against the wall....
Why isn't it working?
Code:
Set objFSO = CreateObject("Scripting.FileSystemObject")
If objFSO.DriveExists ("R:\") Then
Msgbox "R Drive mapped", vbOkOnly
End If
Why isn't it working?