File_GetLineString
Description
Read a line in a file
Â
Syntax
File_GetLineString(sFile, iLineNumber, bMustExist) As Boolean
Â
Parameters
sFile (String)
Filename
iLineNumber (String)
Line number
bMustExist (Boolean)
Line must exist
Return value
Result will be stored in gsValue
Â
Example
VBScript
If bStatus Then bStatus = File_GetLineString("C:\CapaInstaller.txt", 1, True) bStatus = Job_Writelog("Custom", "First line in win.ini: " & gsValue, bStatus, True)
Â