Raymond wrote:
  Is it possible to get the absolute path of the Mozilla directory or
Mozilla Preferences directory using XPCOM?

Yes: you want the directoryservice (using interface nsIProperties) and the directory service key defined in nsAppDirectoryServiceDefs.h NS_APP_PREF_DEFAULTS_50_DIR.


Note that there are also GRE default preferences in NS_GRE_DIR/greprefs, but you shouldn't normally need to worry about that directory.
--BDS
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to