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)