>
> 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
Darin,
Thanks for the reply. This doesn't seem to be the issue. I only
attempt to delete some configuration files that I write, and do not
maintain handles for. Here's a javascript example that obtains a
nsIFile object using jslibs:
// code
try {
var fh = new File(name);
var file = fh.nsIFile;
file.remove( false );
} catch ( e ) { alert( "Delete File Error: " + e ); }
}
// end code
I do not open a handle to the file before attempting to delete. I am
certain that I have not opened any files before I run this, and I
continue to get a 3253927937 error on the Windows platform. Any ideas
are helpful. Thanks,
-- Kyle
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom