Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FILE SIZE and COPY FILE 2 DISK
Message
From
18/02/1997 18:47:52
 
 
To
18/02/1997 04:52:27
Ralf Zimmer
N:media Datapoolsystems Gmbh
Duesseldorf, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00020863
Message ID:
00020978
Views:
42
>How can I find out about the total size of a table (.dbf and .fpt)? I've tried it with the fsize() function, but this givs me only the size of the dbf file. Whats about the fpt file?
>Or, perhaps somebody has already a function which copies files to a disk and will give it to me.

FSIZE() returns the size of a file only if SET COMPATIBLE is ON. And it works fine for any file. Try:

set comp on
?fsize("dbfname.dbf")
?fsize("dbfname.fpt")
set comp off

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform