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)
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”VBScript
If bStatus Then bStatus = File_GetSize("C:\CapaInstaller.txt")If bStatus Then bStatus = Job_Writelog("Custom", "giValue: " & giValue, bStatus, True)Related functions
Section titled “Related functions”