Deleting locked files with Java?

Posted by Marcus on Stack Overflow See other posts from Stack Overflow or by Marcus
Published on 2010-05-21T20:39:58Z Indexed on 2010/05/21 20:40 UTC
Read the original article Hit count: 227

Filed under:
|
|

We have to delete some directories and their contents using Java running on Windows.

I was worried about running into the directory files being locked.

We could just invoke Unlocker to do the delete. Or is there a more Java centric way to handle this situation?

© Stack Overflow or respective owner

Related posts about java

Related posts about unlocker