Skip to content

File_ExistDir

Check for directory existence

File_ExistDir(sDirectory, bMustExist) As Boolean

Directory to find

Directory must exist

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

If bStatus Then bStatus = File_ExistDir("C:\CapaInstaller", False)
If bStatus and Not gbValue Then bStatus = File_CreateDirectory("C:\CapaInstaller")

Scripting Guidelines

File_CreateDirectory File_CopyTree Constants Package Property Variables