FileLen Function


FileLen( filename )

Returns a Long integer that is the length of the file in bytes.

Example:

    Sub Main

        Dim MySize

        MySize = FileLen("C:\TESTFILE")   ' Returns file length (bytes).

        Print MySize

    End Sub


Related Topics:

LOF Function