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:
01642969
Vues:
46
>
>when I run it again it does the same thing with the second file until all the files have been moved and processed
>
>Is that clearer - thanks for all your help

Yes, this code process all files in that folder.
If you do not need all just remove cycle :-)
lcFileName = SYS(2000,"c:\citisprint\sttach\*.*")
RENAME ("c:\citisprint\attach\"+lcFileName) TO ("c:\citisprint\attachxls\"+lcFileName)
But I'm still not sure what you mean by FIRST?
When I order files by name then first file is different than that when I ordered them by extension or by size.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform