ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.GetFileSize

Returns the file size in Bytes as Int64 for the given path; -1 if the size could not be determined.

Syntax
Pascal
function GetFileSize(const FilePath: string): Int64;
Parameters 
Description 
const FilePath: string 
The path the Size should be queried for. 

The file size as Int64 for the given path; -1 if the size could not be determined.