Skip to content

Ini\_ExistEntry

Checks if specified entry exists in specified section in specified file

Ini_ExistEntry(sFile, sSection, sEntry, bMustExist) as Boolean

sFile (String)

Filename

sSection (String)

Section name

sEntry (String)

Entry name

bMustExist (Boolean)

Entry must exist

Result will be stored in gbValue

VBScript

If bStatus Then bStatus = Ini_ExistEntry("C:\CapaInstaller.ini", "SectionName", "EntryName", True)

Scripting Guidelines

INI file functions