AnsweredAssumed Answered

vrf Returning Network Drive name (DB/RYM)

Question asked by VRFuser on Jan 11, 2008
"David Bielawski" <David.Bielawski@raymarine.com> wrote:
> Hi Guys
>
> Does anybody know if there is .NET function call which returns the
> mapping info of a mapped drive?
>
> Tried various options and only get the drive letter returned, but
> really need the network drive name, so as to be able to differentiate
> between different servers.
> The program I am working on will eventually may up on several machines
> which could all be mapped to the same drive letter, even though the
> network is different.


Why not just use UNC's and skip the whol drive-letter issue completely?

That way you can always be sure exactly where you are pointing.

Except for legacy code drive letters haven't been needed for many years.

Stan


--------------------------------------------------------------------------
Stan Bischof  Agilent Technologies  707-577-3994  stan_bischof@agilent.com
--------------------------------------------------------------------------

---
You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".

Outcomes