[Project_owners] Writing to an RDF in the profile folder

Bernd Eckstein eck at ivu.de
Tue Oct 28 11:40:26 EST 2003

Eelco van Kuik schrub am 27.10.2003 23:02:

> How do I reach a file in the profile folder from my app?

const DS = new Components.Constructor( 
"@mozilla.org/file/directory_service;1", "nsIProperties" );
var myDirS = new DS( );
return myDirS.get( "ProfD", Components.interfaces.nsIFile ).path;


Mit freundlichen Gruessen / Best regards

B.Eckstein, IVU Traffic Technologies AG
Elisabethstr. 16, 52062 Aachen
Telefon: +49(241)47051-0, Telefax: +49(241)47051-89
mailto:B.Eckstein at ivu.de, http://www.ivu.de

(9) For all resources, whatever it is, you need more.
(10) One size never fits all.		from RFC 1925

More information about the Project_owners mailing list