I have a xul page (not an extension), and I need to read a file which is located in the same directory as the xul file. The problem I have is that the initWithPath on nsILocalFile needs an absolute path, and I don't want to hardcode the path in the xul file. How can I get the current directory (directory of the xul file) ? There is a lot of dir that I can access : Profile dir, home dir, mozilla dir, ... but nothing for the current dir.
Thanks
Didier
_______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
