{{tag>Function Function_List Files}} ====== FILE_SIZE ====== ===== Description ===== Returns the size of the specified file or document in bytes ===== Syntax ===== ''FILE_SIZE (file)'' ===== Parameters ===== An expression returning a string identifying a file or directory name or an attribute of the Document type ===== Returns ===== **Number**: the size of the file or document in bytes. ===== Example ===== DISPLAY MESSAGE ('File size is ' + FILE_SIZE('c:/myfile.txt')) ===== Related ===== [[ref:a_f:f:af:file_exists|FILE_EXISTS]], [[ref:a_f:f:af:file_name|FILE_NAME]], [[ref:a_f:f:af:file_extension|FILE_EXTENSION]], [[ref:a_f:f:af:as_string|AS_STRING]]