Search

Get File Size

Last Updated: Mar 15, 2021

Articles

Use this function to find the size of the input file.

Syntax

Get File Size (file_path)

Parameters

Input Parameter Name Description
file_path Path of the file to find the size

Returns

Return value Description
Size Returns the size of the input file

Sample

Get File Size (C:\Invoices.pdf)

  • Returns the size of the input file in C:\Invoices.pdf as 16460 bytes.

To view all the File functions, click here.

Did you find what you were looking for?