>Try:
>
>IF CopyFile('c:\temp\test.txt',['\\servername\printer name'],0) # 0
>
>This will pass everything inside the [] to the CopyFile function. Maybe it will work (can't test it from my current location).
Larry,
This doesn't seem to be working, I will test some more. The other problem I am going to have is that I want to get the printer name at the client location using the APRINTERS() function. If this function returns a shared printer name with a space, how would you handle passing of a variable?
= APRINTERS(laPrinters)
IF CopyFile(lcTextFile, laPrinters[1,1], 0) # 0
Thanks again for your continued help.
Kind Regards,
Mat