Skip to content

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 NameData TypeDescription
CheckFolderBooleanIf you want the custom action to verify the existence a folder, then set this property to True. Otherwise leave it to False.
FilenameStringThis 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%\
ReturnVariableVarNameThis is the variable that will contain the result. See below for results.