~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
Yeah, :P kind of communication gap.
Just thought that someone with 3 posts wouldnt want to probably write a recovery software (which is a VERY challenging project).
Dude , you need to do a reality check since if you are clueless about how to start, managing this project would be near impossible (you know i am optimistic).
Tell us how much C++ you know, and what is the complexity of the biggest program you have written till date.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
c++ or c programs (or programs written in any other language for that matter) are unreliable at best because the os may overwrite the sectors on the next write. Even Norton Utilities is not all that reliable. MS-Windows added the trash can for exactly that purpose, when a file is deleted the os moves it into the recycle bin directory and does not really delete it at all. It would be pretty easy to write a program to move files and directories back to their original location.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
c++ or c programs (or programs written in any other language for that matter) are unreliable at best because the os may overwrite the sectors on the next write. Even Norton Utilities is not all that reliable. MS-Windows added the trash can for exactly that purpose, when a file is deleted the os moves it into the recycle bin directory and does not really delete it at all. It would be pretty easy to write a program to move files and directories back to their original location.
But what you say beats the purpose of the OP. And also in the market there are a lot of file recovery softwares which recover files which are deleted using SHIFT + DEL. And as they are softwares, they are naturally made in some language (i think C/C++), aren't they?
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
> and wondered if anybody here and also done this?
Assume the answer is "no", what is your next question going to be?
Then assume the answer is "yes", what is your next question going to be?
Or are you just conducting some kind of survey to see which boards have got the most experienced people?
Get to the real point and ask your real question instead of asking all these "meta" questions like "does anybody know....".
http://www.catb.org/~esr/faqs/smart-questions.html#prune
For what it's worth, your question falls into my category of "if you need to ask, you're not ready to take on the task". There's a whole raft of complex issues which need to be addressed, and only really experienced programmers would have an appreciation of those issues, and would certainly know where to look to find the answers.
At the moment, you're just looking to get real friendly with the fdisk program because of all the times you will completely trash the file system to the point where windows refuses to reboot or repair the damage.
In answer to your meta question, I'll answer a qualified "maybe".
I've only tried this with FAT file systems, and only using spare disks in "read-only" mode, and only in real DOS where there is no concurrent disk accessing going on. It was also a long time ago.
But I'm not interested in nursing you through several months of development if that's what your next question is going to be.
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
We didnt mean to hurt to or something like that. Its just that you didnt even mention your problem approach or didnt even post your effort, so it made us think you want ready made solution.
POst some of your efforts or the info you have gathered to prove your point that you are genuinely interested.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953