Skip to content

File_ExistFile

Check for file existence

File_ExistFile(sFile, bMustExist) As Boolean

Filename

File must exist

Result will be stored in gbValue. Function will return false if file does not exist and bMustExist is true

If bStatus Then bStatus = File_ExistFile("C:\CapaInstaller.txt", False)
If bStatus Then bStatus = Job_Writelog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines

File_CreateEmptyFile Constants Package Property Variables