Kyle wrote:

I have some code that uses nsIFile to do file manipulation. Code that
uses the remove(bool) method works perfectly under Linux, but throws a
3253927937 exception under Windows.

It seems this is causing trouble for others (because their scripts are
also unable to delete files on Windows), but I have not seen any
discussion about this.

Has anyone been able to effectively use the remove method? Any ideas
about what is causing problems? Thank you,

Kyle
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom



under windows, you cannot delete a file that is in use. under linux, that is not a problem. the OS happily removes the reference to the file in the parent directory. so, under windows you have to make sure that the file is not in use when you try to delete it.


-darin
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to