Igor Tandetnik wrote:
> Vijay Mendiratta <[EMAIL PROTECTED]> wrote:
>> I wanted to create a file, say abc.txt, that is inside "C:\MyFolder".
>> Now the problem is if MyFolder doesn't already exist it throws an
>> exception.
> 
> What is "it"? What throws an exception? Show some code.
> 
> nsILocalFile::Create creates the file and all folders in its path.

It can also be used to create just directories (pass DIRECTORY_TYPE as 
the first argument)
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to