Script / code to search for a file in the entire file system + install4j

I have a requirement to find a file (**. Exe file) in the entire file system and get its path. I searched in an accessible code gallery and did not find anything similar to this requirement. Can I add a custom java method to a script section? Something similar to a recursive search can be implemented. If so, how to add a custom method to the "run a script" action?

+4
source share
1 answer

You cannot add methods to scripts, but you can add methods to static code (Custom Code and Resources → Change Code). Methods defined in static code can be used in all scenarios.

+2

Source: https://habr.com/ru/post/1617692/


All Articles