This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Java in General and the fly likes copy a locked file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "copy a locked file" Watch "copy a locked file" New topic
Author

copy a locked file

benny rusli
Ranch Hand

Joined: Jan 15, 2005
Posts: 72
Hello Everybody,
i want to know if there is a method, with Java to copy a file that is in use or locked by another application. Any Help will be appreciated.
Arto Pastinen
Ranch Hand

Joined: Dec 13, 2002
Posts: 79
There is no way, and that lock is windows specific feature.
 
Don't get me started about those stupid light bulbs.
 
subject: copy a locked file