Yo Chris:
Thanks for that - its a great help to know.
>>I currently use Strtofile() to create a file in a specified directory. The specified directory name is a table based parameter that is concatenated to a file name to use as the "FilePath\Filename" in Strtofile(). I will soon require to create the file on another server and wondered whether Strtofile() supports UNC names as part of the target path/file name?
>>
>>Any advice appreciated.
>
>I just tested this on my nextwork and it worked:
>
>lnCharsWritten = STRTOFILE(lcString, "\\SAMMY\Temp\Test.prg")
-=Gary