Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find size of a text file
Message
De
28/02/2000 23:05:11
Michel Lalonde
Laboratoire Médical Biron
Lachine, Québec, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00338422
Message ID:
00338895
Vues:
9
You can use FSEEK function

Example:

lnF = fopen("fileName")
? "FileSize: ", FSEEK(lnF, 0, 2)
fclose (lnF)




>Sherry,
>
>Two other methods:
>
>Use ADIR()
>
>len( filetostr( "thefile.txt" ) )
>
>> Anyone knows a comand to find the size of a text file? Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform