Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy a file by using parameter
Message
 
 
À
09/07/2001 22:47:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00528463
Message ID:
00528466
Vues:
24
>I want to copy a file temp.txt to another file which's name is a variable, I can't do
>filename = "newsletter007.txt"
>run "copy temp.txt" + filename
>But I need to hard code it to
>run "copy temp.txt newsletter20010710.txt"
>and it will popup a window said "1 file copied" since it used DOS command to do the job.
>Anyone has other way to copy file in VFP that can solve the above 2 problems?

Check COPY FILE command in help.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform