>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().
>
>The reason I want to do this is that I store the names [including paths] of files in a table. I'm concerned that users would only be able to view these files from my VFP application if they have identical drive mappings.
>
>Any ideas ?
>
>Best.
>
>Matt.
Matt,
If you store path in the table then,
no matter what you store (mapped or UNC path) + file name will
open that file anyway.
Another thing,
Getfile() can allso return UNC path
if you select machine\drive\file.XXX via Network Neigborhood,
instead of mapped device.
If this does not cover your needs then you
have to browse arround for 'bigger guns' .