The nsIFileUtilities interface provides access to random file operations.
 To obtain: QueryInterface on nsIPluginManager.
[uuid(89a31ce0-019a-11d2-815b-006008119d7a)]
interface nsIFileUtilities : nsISupports

Methods

 Returns the name of the browser executable program.

 @param aProgramPath - the returned path to the program
 @result             - NS_OK if this operation was successful
void getProgramPath(out constCharPtr aProgramPath)
 Returns the name of the temporary directory.

 @param aTempDirPath - the returned path to the temp directory
 @result             - NS_OK if this operation was successful
void getTempDirPath(out constCharPtr aTempDirPath)
 Returns a unique temporary file name.

 @param aPrefix - a string to prefix to the temporary file name
 @param aLength - the length of the resulting buffer to receive the data
 @param aBuffer - the returned temp file name
 @result        - NS_OK if this operation was successful
void newTempFileName(in string aPrefix, in unsigned long aLength, in charPtr aBuffer)