/bundles/itninjaweb/img/Breadcrumb_cap_w.png

Hoping someone can help me out. This might be an easy answer since have not been able to find one.

I'm trying to use the custom Inventory field within Inventory > Software to find computers with a specific file type.


This is what I'm trying to do FileExists(c:\windows\temp\*.dcx) or FileExists(c:\temp\*.dcx)

But it looks like the wildcard is not working. Is this possible?

Any help would be much appreciated.

Thanks

Answer Summary:
Cancel
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Answer this question or Comment on this question for clarity

Answers

0

I answered my questions. I used the following and it is working:

ShellCommandTextReturn(cmd /c dir "C:\windows\temp\*.dcx") or ShellCommandTextReturn(cmd /c dir "C:\temp\*.dcx")

Answered 08/01/2014 by: snardell
White Belt

Please log in to comment