Hi all,

Does anyone know how to determine a sharename (UNC) given a file name on a local (fixed) drive.
I am using the Scripting.FileSystemObject which works brilliantly for network (remote) drives but won't return a share name for local drives/files.
(e.g. c:\my documents\myletter.doc)

This is further complicated if only some folders on the local machine are shared.

Any help or comments would be greatly appreciated.

Stu.