>>I don't understand. I can post a new thread, but can't post messages to your replies?
>>
>>Any way, Yes we are correctly logged in to the host server. We do have at least one drive mapped to the host server.
>>
>>However, my problem is since the "My Documents" path is not using the mapped drive, but, is instead using \\host-name\share\path is the "COPY TO" command failing because of the host name instead of a drive letter or is it because of the space in the "My Documents"?
>>
>>Thanks
>>Lee Roy
>
>Leeroy,
>It's an OS problem not VFP. Use quotes around filename. Otherwise it's problem anywhere with long file names.
>
>copy myTable to \\server\share\my long file name path\my file name
>fails.
>copy myTable to '\\server\share\my long file name path\my file name'
>works.
Better yet, use name iundirection all the time - it works regardless of whether the path is an LFN or not:
copy myTable to ('\\server\share\my long file name path\my file name')
copy myTable to ('myTable2.dbf')
You can use a string variable rather than a string in a consistent fashion.