[fpc-devel] Determin file size - how?
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Wed Dec 14 22:11:22 CET 2011
I wonder how to obtain the size of an file on disk. The only function I
could find so far is FileSize, which requires an open File, but nothing
for an file name :-(
ATM FileSize(TEXT) would help, too, but FileSize only accepts an FILE,
not TEXT :-(
FpFStat() seems unavailable on Windows :-(
FindFirst may be usable, but is very clumsy for this simple request.
DoDi
More information about the fpc-devel
mailing list