Detect Map Drive is Connected
Posted on 2004-09-10
I several users that have mapped drives to //Server/path/path...
Each user could have different drive letters.
Mary could be K:
Bob could be H:
John could be J:
Therefore I don't want to hard code the letter. I want to pass the //Server/path/path... to a function and tell me if the //Server/path/path is connected or not.
These people have lap top computers and I don't want the program to run if the mapped drive is not connected.
I would like a function call to check this connection and pass back a true or false on connected or not based on the passing of the //Server/path/path... and not the letter.