>>One of the solutions could be like this:
>>oFSO = CREATEOBJECT("Scripting.FileSystemObject")
>>
>>lo= oFSO.GetFile(getfile())
>>?lo.Drive.ShareName
>
>Yuri, first thank you for your help.
>
>Can you think why when I run your simple code (above), I get empty value of .ShareName? Could it be because I choose a file from my local drive?
I do not get it: if you choose the file from the local drive, then what UNC you expect?
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