How to get a network path from a file

  • Thread starter Thread starter Johan Jooris
  • Start date Start date
J

Johan Jooris

Hi,

when a select a file (with it's path) through an open file dialog, I would
like to return the full network (DFS path) from this file.

E.g. when selecting a file V:\test.doc, assuming the drive V is mapped to
\\mydomain.com\map (a dfs name), I would like to receive
\\mydomain.com\map\test.doc.

I tried the fileinfo and directoryinfo class, but I don't find what I really
want.

Can anyone help ?

Thanks !!

Johan
 
Back
Top