Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying files to another directory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01642909
Message ID:
01642911
Vues:
43
>>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?

Say I have 10 files in a directory

The first one in the directory - I want to move it to another directory process it and then delete it

The next time I run the program the original 2nd file is now no !

And so on until I have processed all 10 files

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform