On Sun, 15 May 2022, at 2:53 PM, Desmond Lloyd wrote: > if I change the file name after throwing the error the copy > executes just fine if I run the copy again it fails???
So at the point of failure if you try to re-execute the COPY TO with the intended filename in the Command Window and it fails also? Is there a hidden ARINVT01.TXT in the output location ? Try erase "output\arinvt01.txt" copy to yada yada -- Alan Bourke alanpbourke (at) fastmail (dot) fm _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/b71f78a0-73bd-47bb-b0fb-e25686672...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.