Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find size of a text file
Message
From
28/02/2000 23:05:11
Michel Lalonde
Laboratoire Médical Biron
Lachine, Quebec, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00338422
Message ID:
00338895
Views:
11
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
Previous
Reply
Map
View

Click here to load this message in the networking platform