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