I am wanting to use a relevance lang. query to populate a 'Computer Group". This would ideally be for both Windows and Linux and be along the lines of:
exists “d:\filename.txt” is true – For Windows
exists “/data/filename.txt” is true – For Linux
But it does not seem to be working, what am I missing?
I use this for a similar check:
if (exists operating system whose (name of it starts with “Win”)) then (exists file “d:\filename.txt”) else (exists file “/data/filename.txt”)