Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieve server name from mapped drive

Status
Not open for further replies.

EagleTempest

Technical User
Jun 15, 2004
125
CA
I am wondering if VB.net 2005 & Framework 2.0 has any new utilities over VB6 to extract the server name from a mapped drive.

For example:
P: drive is mapped to \\PoohBear\Projects

How can I extract either just PoohBear or Poohbear\projects?

I can I could use the old way with WSH.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top