Microsoft SDK for Java

setSearchPath

This method of the Direct3dRM Class sets the current file search path from a list of directories.

Syntax

public void setSearchPath(String name);

Parameters

name A string specifying the path to set as the current search path.

Remarks

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.

See Also

getSearchPath

© 1999 Microsoft Corporation. All rights reserved. Terms of use.