Thank you for getting back, it's not a recursive search though.
I'm looking for a file of a particular name (with wild cards for the numeric part iof the filename) in a particular folder which has no sub folders.
Should be something like:
where %candidate is my programme title.
%asfilename:%%candidate:* should be my basic filename and
[films] is the directory being searched.
The fileexists does give a hint that it will search folders but I can't find the format which works for the parameters.
Just to be clear: If a programme is recorded called "boris", which would normally get put in the root Videos folder, I want to find out of there is another file called boris_XXXX_XXX.ts in [Films]. (XXX being the usual numerics).