Product Logo

CNS Menu

Dynamic Menus

Functions

CNSMenu_File_Size

NameCNSMenu_File_Size
Description

Returns the size of a file.

Return TypeNumber
FormatCNSMenu_File_Size ( File )
Required Parameters
File

The path and file name of the file you need the size of.

Examples
Example 1

Returns the size of the "big.jpg" file on Windows.

CNSMenu_File_Size( "c:\images\big.jpg" )
Example 2

Returns the size of the "big.jpg" file on Mac.

CNSMenu_File_Size( "/Images/big.jpg" )