Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacement for COPY filea + fileb
Message
 
 
À
26/06/2001 09:09:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00523508
Message ID:
00523521
Vues:
9
How about:

lcString = filetostr('FileA') + filetostr('FileB')
lnRetVal = strtofile(lcString, 'FileC')

>Hi,
>
>I appreciate that this may not be a pure VFP question.
>
>I would like to be able to combine 2 files (specifically a PCL font in the same way that you used be able to in DOS with COPY filea + fileb filec. Is there a simple way of doing this maybe with the WINAPI.
>
>I am reluctant to use FOPEN(), FREAD(), FWRITE etc as some of these files are in excess of 250K, which would mean having to read in and write out 64K or less chunks at a time ( am I right in thinking that this is the max size for a variable in VFP). I'd prefer not to do it this way if there is a simpler way
>
>Thanks
>
>
>Simon Horne
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform