Description
Check for file existence
Syntax
File_ExistFile(sFile, bMustExist) As Boolean
Parameters
sFile (String)
Filename
...
Result will be stored in gbValue. Function will return false if file does not exist and bMustExist is true
Example
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
If bStatus Then bStatus = File_ExistFile("C:\CapaInstaller.txt", False) If bStatus Then bStatus = Job_Writelog("Custom", "gbValue: " & gbValue, bStatus, True) |