This method of the Direct3dRM Class sets the current file search path from a list of directories.
public void setSearchPath(String name);
name | A string specifying the path to set as the current search path. |
The default search path is taken from the value of the D3DPATH environment variable. If this is not set, the search path will be empty. When opening a file, the system first looks for the file in the current working directory, and then checks every directory in the search path.