FileSystem.FileSize(String) Method

Top 

Description

Returns the size of the file in bytes. If the specific path is a directory or the file does not exist, an error will be reported.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

FileSystem.FileSize(

String path)

 

 

Arguments

path


Description:

The path to the file whose size is to be returned.

 

 

 

Return Value

Type:

number

 

 

Returns the size of the file in bytes.

 

Syntax

myVariable1 = FileSystem.FileSize(myString1);

 

 

See also

FileSystem Object

Interfacing with Files Guide