GETFILESIZE

Action

Returns the size of a file in bytes.

 

Syntax

GETFILESIZE ("file name")

 

Parameter

File name

Identifies the file for which you want to retrieve the size.

Returns

Size of the file in bytes.

Remarks

The maximum size of files that GetFileSize can correctly report the size of is 2,147,483,647 bytes.

 

Example

$Result = GetFileSize(@LDRIVE + "\Kix32.exe")