Determines if a file exists within a folder.
target.file.Exists(folder_file)
folder_file (input) - the folder in which you want to check for the file
This function returns a boolean value (true/false)
Sample
'---------- Start ----------
Function Start
if target.file.Exists( "C:\FileTestFolder\trgFileSample.txt" ) = true then
trg.Message( "It exists" )
else trg.Message( "It does not exist" )
end if
End Function
See also