Use of "descendents of folder" show odd results on Windows, but ok on Linux

(imported topic written by jrbast)

In Linux the following works fine:

(descendants
of
folder
"/opt/oracle"
)
whose
( pathname
of

it

contains

“/access/oblix/tools/openssl/simpleCA/cacert.pem”

and
name
of

it

=

“cacert.pem”)

/opt/oracle/Webgate/access/oblix/tools/openssl/simpleCA/cacert.pem

But in Windows, I get strainge results?

(descendants
of
folder
"D:"
)
whose
( pathname
of

it

contains

“\access\oblix\tools\openssl\simpleCA\cacert.pem”

and
name
of

it

=

“cacert.pem”)

“cacert.pem” “” “” “” “”

Am I doing something wrong to get the output above?

(imported comment written by jgstew)

pathnames of (descendants
of
folder
"D:"
)
whose
( pathname
of

it

contains

“\access\oblix\tools\openssl\simpleCA\cacert.pem”

and
name
of

it

=
“cacert.pem”)

(imported comment written by jrbast)

FYI, usinf “descendents of” is VERY BAD for performance of your IEM server. experienced this first hand with computer check in refresh being delayed

(imported comment written by jgstew)

Yes, especially using descendants of the root drive, that is very bad because it will cause a recursive search of all files and folders of the system, which is a HUGE delay.

If you use descendants in a more limited way, like a very specific folder, it does not cause as significant of a performance penalty, though I would still use caution.

The penalty can be reduced by using descendants in an analysis which gives you the ability to control how often the property is evaulated, like once every 12 hrs.

see an example here:
http://bigfix.me/analysis/details/2994620

(imported comment written by jgstew)

On windows, this is returning an object and by default it is showing you many of the properties of the object, but not the full pathname. The advantage of the object is you can do many different things with it, including returning the full pathname if you wish.