File_GetSize
Description
Section titled “Description”Get size of file
Syntax
Section titled “Syntax”File_GetSize(sFile) As Boolean
Parameters
Section titled “Parameters”sFile (String)
Section titled “sFile (String)”Filename
Return value
Section titled “Return value”Result will be stored in giValue. If file does not exist giValue will be equal to -1
Example
Section titled “Example”If bStatus Then bStatus = File_GetSize("C:\CapaInstaller.txt")If bStatus Then bStatus = Job_Writelog("Custom", "giValue: " & giValue, bStatus, True)