Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to copy 2 files to 1 file?
Message
 
 
À
02/02/2001 17:11:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00472021
Message ID:
00472034
Vues:
39
>I want to merge 2 text files together. I tried the following MS-DOS command
>with the VFP RUN command (like below... but it does not work):
>RUN copy MyFile1+MyFile2 MyFile3
>
>How can I do that?

run type myfile1 > myfile3
run type myfile2 >> myfile3

The double greater than signs mean append to existing file.

If you are using VFP 6 why not use the FileToStr() and StrToFile() functions?
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform