Hello all.
Im trying to convert a local path to a unc path, if the path specified is part of a share.
Eg.
Assuming
1. The computer name is COMP
2. The folder C:\dir1\dir2 is shared with share name ABC
The local path i have is C:\dir1\dir2\test.txt
I need to be able to work out that the unc path is
\\COMP\ABC\test.txt
I have examined the post below but the answer does not seem to cover what I need:
Im using D6 and my app needs to run on W98 and up.
Thanks for reading my question.
Tim
---------------------------------------
The maggotts always win.
Im trying to convert a local path to a unc path, if the path specified is part of a share.
Eg.
Assuming
1. The computer name is COMP
2. The folder C:\dir1\dir2 is shared with share name ABC
The local path i have is C:\dir1\dir2\test.txt
I need to be able to work out that the unc path is
\\COMP\ABC\test.txt
I have examined the post below but the answer does not seem to cover what I need:
Im using D6 and my app needs to run on W98 and up.
Thanks for reading my question.
Tim
---------------------------------------
The maggotts always win.