>I have an unknown number of files in directory A
>I want to copy just the first to another directory B
>
>My present code copies them all COPY FILE *.* to c:\citisprint\attachxls\latest.xlsx
>
>How do I just copy the first and then delete it so it doesn't get copied again or can I move the first file to directory B? If so how?
>
>Thanks
How do you know what file is first?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.