Check if a file/folder exists¶
This action will check whether the specified file or folder exists and then store the result in the specified variable.
|Property Name||Data Type||Description|
|CheckFolder||Boolean||If you want the custom action to verify the existence a folder, then set this property to True. Otherwise leave it to False.|
|Filename||String||This is the full path to the file the function has to check the existence if CheckFolder is set to false. For example: %SYS%\GTools.dll This is the full path to the folder the function has to check the existence if CheckFolder is set to true. For example: %WIN%\|
|ReturnVariable||VarName||This is the variable that will contain the result. See below for results.|
About ReturnVariable values (Boolean type): If the file (or folder) is found, then the variable specified in "ReturnVariable" will receive the value 1. Otherwise it will be set to 0. You can then evaluate the result using a Conditional If/Then block for instance.