[Jslib] File.js remove()

Pete Collins pete at mozdevgroup.com
Thu Oct 21 02:11:59 EDT 2004


>I tried using the remove( bool ) method in nsIFile directly and get the
>same results. I don't think I'm the only person dealing with this. I
>notice that none of my code or anyone else's ever seems delete any
>files. Does anyone know why this is and what can be done about it?
>
>
>  
>
If you are calling remove and the file isn't being removed, then you 
must be on windows and the file must be locked.

To test, try a file you *know* is not locked and try removing it.

--pete

-- 
Pete Collins - Founder, Mozdev Group Inc.
www.mozdevgroup.com
Mozilla Software Development Solutions 





More information about the Jslib mailing list