Finding File Version Using Variable Path

We have several files that need to be deployed out to some servers. The goal of the relevancy is to check the current versions of the files and if the files are below a certain version then the systems show as being relevant for the updated files. The problem is that the path to the files on each system is unique with the server name. For example, C:\Program Files\Program1\ProgramSub\SERVERNAME. I am able to retrieve the path using the relevancy below but cannot find the the file version due to an error (A boolean expression is required). Any help would be appreciated.

Q: pathnames of files whose (name of it = “FilesMiniFilterBAM.dll”) of folders of folders "C:\Program Files\Program1\ProgramSub"
A: C:\Program Files\Program1\ProgramSub\SERVERNAME\FilesMiniFilterBAM.dll

Q: pathnames of files whose (name of it = “FilesMiniFilterBAM.dll”) of folders of folders “C:\Program Files\SailPoint\SecurityIQ” AND there exists file “FilesMiniFilterBAM.dll” whose (version of it = “6.0.0.2000”)
E: A boolean expression is required.

The following I think should work

exists files whose (name of it = “FilesMiniFilterBAM.dll” AND version of it = “6.0.0.2000”) of folders of folders “C:\Program Files\SailPoint\SecurityIQ”
1 Like

That worked! Thanks Alan.