
turning a local path into a UNC path
I can get a UNC path from a mapped drive letter but, is there a good
way to get a UNC path from a local drive/path?
I can find the shares in the registry but how do I know the real local
path that they refer to and/or how can I find out?
I need to be able to get this information when files are dragged into
or added from a file open dialog from the local hard drive so others
on the network can access these files when just the paths added to
a central database.
1. be able to find out if files are in a network share (accessible to other
computers on the network)
and warn the user of they are not.
2. resolve a local path to a UNC path.