/
File_ExistFile
File_ExistFile
Description
Check for file existence
Syntax
File_ExistFile(sFile, bMustExist) As Boolean
Parameters
sFile (String)
Filename
bMustExist (Boolean)
File must exist
Return value
Result will be stored in gbValue. Function will return false if file does not exist and bMustExist is true
Example
VBScript
If bStatus Then bStatus = File_ExistFile("C:\CapaInstaller.txt", False) If bStatus Then bStatus = Job_Writelog("Custom", "gbValue: " & gbValue, bStatus, True)
Related functions
, multiple selections available,
Related content
File_CopyFile
File_CopyFile
Read with this
File_ExistFile
File_ExistFile
More like this
File_CopyTree
File_CopyTree
Read with this
File_ExistFile
File_ExistFile
More like this
Reg_SetString
Reg_SetString
Read with this
File_ExistFile
File_ExistFile
More like this