getComponentFolder
Returns an object representing the directory in which a component is installed.
Method of
Syntax
Object getComponentFolder (String registryName) Object getComponentFolder ( String registryName, String subDirectory);Parameters
The
getComponentFoldermethod has these parameters:
Returns
An object representing the directory in which the component is installed, or
NULLif the component could not be found or ifsubDirectoryrefers to a file that already exists.Description
The
getComponentFoldermethod to find the location of a previously installed software package. Typically, you use this method with theaddFilemethod or theaddDirectorymethod.
| Netscape Communications devedge.netscape.com |