Robert,

As is for all things MS, its a pain..

you may have to use ExpandUNCFileName (beware, it gives 
different result on different OSs

you may also need to use WNetEnumResource to determine if the 
drive is local and you can fiddle a bit more.

I dont think my code will do much for you.



> 
> Hi
> 
> If I have the share name \\Alpha\c-dirve\ , is it possible to interpret the share 
> name and convert it 
> to its physical drive name i.e \\Alpha\c\. The bit I reallllly want is the 'c'.
> 
> 
> Rob Martin
> Software Engineer
> 
> phone 03 377 0495
> fax 03 377 0496 
> web www.chreos.com
> Wild Software Ltd

Regards

Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to