>>Change
>>
>>>>copy file m.txt to ('c:\Vaniermu\' + justfname(m.fln))
>>
>>into
>>
>>>>copy file m.txt to ('c:\Vaniermu\' + m.fln)
>>
>>ie, take out justfname() which throws away the extension you just added
>
>No, JUSTFNAME returns the file name with extension.
Yes, correct - confusion with juststem()
>
>I think Viv got it, I checked Help on PUTFILE, but didn't bother to verify what should I use for the second parameter (can I just omit it or not). It was kind of late last night.
Gregory