vl-file-size
(vl-file-size fileName)
This function returns the size of the
specified file fileName
in bytes.
Arguments |
fileName (string) name of an existing file; if no path is included, the file is searched in the current OS folder |
Return |
(integer) size of the file; NIL if the file fileName does not exist, or is actually opened for writing |
Example |
(vl-file-size (findfile
"bricscad.exe")) 2994176 |
Remarks |
note : if fileName specifies a folder, 0 is returned |
© Bricsys NV. All rights reserved. |