FileLen

Returns a Long specifying the length of a file in bytes.

Syntax

filesystem.FileLen (Pathname)

The required pathname argument is a string expression that specifies a file. The pathname may include the directory or folder.

Remarks

If the specified file is open when the FileLen function is called, the value returned represents the size of the file immediately before it was opened.