Fixlet Relevance Check for File(s)

(imported topic written by Todd.CM)

Hi Everyone,

I need to create a new Fixlet and on the Relevance Tab and have it match 2 files using an environmental variable if possible.

I can find it via the 2 commands listed below.

Working Results from QnA

Q:

exists

file (
“C:”

&
(
if
(architecture

of
operating system

=

“x86_64”
)

then

“Program Files (x86)”

else

“Program Files”
)

&

“\IBM\Notes\bookmark.nsf”)

A:True

T:0.113 ms

Q:

exists

file (
“C:”

&
(
if
(architecture

of
operating system

=

“x86_64”
)

then

“Program Files (x86)”

else

“Program Files”
)

&

“\IBM\Notes\names.nsf”)

A:True

T:0.111 ms

However, I would like to do it in an option similar to the following, just in case the Program Files folder is not using C:\Program Files (For example D:\Program Files).

Failed Results from QnA

Q:

exists

file

“{value of variable “
ProgramFiles
” of environment & “

IBM

Notes

names
.
nsf”}”

E:This expression could not be parsed.

Q:

exists

file

“{value of variable “
ProgramFiles
” of environment & “

IBM

Notes

bookmark
.
nsf”}”

E:This expression could not be parsed.

Q:

exists

file

“names.nsf”

of

“{value of variable “
ProgramFiles
” of environment & “

IBM

Notes”}”

E:The operator “file” is not defined.

Q:

exists

file

“bookmark.nsf”

of

“{value of variable “
ProgramFiles
” of environment & “

IBM

Notes”}”

E:The operator “file” is not defined.

Is anyone able to provide any insight into what the correct relevance is for this?

Thanking you in advance,

Todd