>Hi,
>
>I'm wondering if there is a way of returning, say,
>
>myserver//mydirectory/myfile.txt
>
>instead of :
>
>L:\mydirectory\myfile.txt
>
>My thinking is that there is way to do this, although perhaps not with getfile().
>
Take the drive letter and use either the Scripting.FileSystemObject automation object (part of the WSH) or a call to WNetGetConnection() in the Win32 API to retrieve the UNC of a mapped drive. The WSH docs detail how the FSO works, and there are samples both in the FAQ and the Windows API areas of UT that show how to call WNetGetConnection().
An alternative is to use Bela Bodecs' control in the Files section which provides a much-enhanced GetFile() capability.