File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes General Computing and the fly likes How to recover replaced files? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "How to recover replaced files?" Watch "How to recover replaced files?" New topic

How to recover replaced files?

Sona Patel
Ranch Hand

Joined: Mar 30, 2009
Posts: 75
Hi All,

I accidently replaced an existing excel file on my desktop with new one. But i need the replaced file.

Is there any way to recover replaced file? suggestions will be of great help...


Peter Johnson

Joined: May 14, 2008
Posts: 5852

I assume you are talking about Windows? A typical "replace" actual creates a new file, deletes the old file, and then changes the directory listing to reference the new location. Thus any Windows undelete" utility should be able to recover the file, provided the disk sectors used by the replaced file have not been overwritten by other information.

JBoss In Action
Sona Patel
Ranch Hand

Joined: Mar 30, 2009
Posts: 75
Thanks Peter...

Yes, I am talking about windows. direction provided by you is really useful.

Chillytic Chillytic

Joined: Aug 10, 2009
Posts: 2
I think that Advanced File Recovery can help you. Just download its free trial. I hope that this program is able to solve your problem.
Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2851

"Chillytic Chillytic " please check your private messages. You can check them by clicking the My Private Messages link above.

|Asking Good Questions|
I agree. Here's the link:
subject: How to recover replaced files?
It's not a secret anymore!