/
File_ExistDir
File_ExistDir
Description
Check for directory existence
Syntax
File_ExistDir(sDirectory, bMustExist) As Boolean
Parameters
sDirectory (String)
Directory to find
bMustExist (String)
Directory must exist
Return value
Result will be stored in gbValue. Function will return false if directory does not exist and bMustExist is true
Example
VBScript
If bStatus Then bStatus = File_ExistDir("C:\CapaInstaller", False) If bStatus and Not gbValue Then bStatus = File_CreateDirectory("C:\CapaInstaller")
Related functions
, multiple selections available,
Related content
File_ExistFile
File_ExistFile
Read with this
File_ExistDir
File_ExistDir
More like this
File_DelTree
File_DelTree
Read with this
File_ExistDir
File_ExistDir
More like this
File_WaitWhileExist
File_WaitWhileExist
Read with this
File_ExistDir
File_ExistDir
More like this