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