The search order that the application uses is as follows:
Directory in which the project file is located.
All directories specified by the WDIR environment variable
For a script to be considered for execution by the application, it must be located in one of the directories above, or the path and file name must be specified in the command line (see “Running a Script from the Command Line”, and “Running a Form from the Command Line”).