XML Extensions uses the PATH environment variable to locate executable programs. The Enterprise Developer Command Prompt window already has PATH set up properly.
XML Extensions uses the CBL_LOCATE_FILE library routine to locate non-executable files, as explained in Searching for files.