Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Concatenation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00196434
Message ID:
00196446
Vues:
45
Hi Mike,

If you're using VFP 6, this is quite simple to do using the FileToStr and StrToFile commands:


StrToFile(FileToStr('c:\file1.txt') + FileToStr('c:\file2.txt') , 'c:\file3.txt')

>Dear all,
>
>Is it possible to use the win32 api to concatenate files? I am hoping not to call the dos command and issue copy file1.txt+file2.txt file3.txt. I have looked briefly through the api documentation but none of the functions seemed to fit the bill.
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform