Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Better way to copy files
Message
 
 
À
07/02/2002 12:18:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00616676
Message ID:
00616749
Vues:
28
LOL! That's the code I started with. :) Well, minus the alltrim part since there aren't any trailing spaces. But the COPY FILE line is exactly my original code. That's what chokes and what prompted me to ask for help. :)

Thanks,

Michelle

>Michelle,
>
>Ahhh...these are memo fields. The following should work, and should be faster, especially if you are copying a whole bunch of files. EXECSCRIPT() has to compile the line each time it executes.
>
>
>local lcFromPath, lcToPath
>
>lcFromPath = alltrim(mFromPath)
>lcToPath = alltrim(mToPath)
>copy file (lcFromPath) to (lcToPath)
>
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform