>When I use GetFile() function it retuns file name with the path in mapped format (e.g. "F:\myfolder\myfile.txt".
>
>Is it possible to make GetFile() return the file location in UNC format? Or, to convert the mapped file location to the UNC format?
>
>Thank you in advance for your help.
One of the solutions could be like this:
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
lo= oFSO.GetFile(getfile())
?lo.Drive.ShareName
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only