FILELEN(pathname)

Returns the length of a file in bytes (Long).


pathnameThe full pathname of the file you want to examine (String).

REMARKS
* The "pathname" will often include a directory and a drive.
* If the file is question is currently open, the value returned is the size of the file immediately before the file was opened.
* You can obtain the length of an open file by using the LOF function.
* The equivalent .NET function is Microsoft.VisualBasic.FileSystem.FileLen
* For the Microsoft documentation refer to docs.microsoft.com

FileLen("C:\text.txt") 

© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited Top