amit wrote:
hello,
I need to design a scandisk type utility in c. which will check the
disk, the directory structure, FAT for errors nd correct them.....
can u please tell me how to proceed...
do i hv to use the int13h or r there other ways too...??
Thanks....
HI, others will tell you, correctly, that while C is just about the
perfect language for this kind of programming, this isnt the right
newsgroup for this kind of discussion.
BTW a few suggestions:
(1) There already are a big slew of programs that do this, including
many free ones, not to mention ones you get for free with the OS:
CHKDSK, and SCANDISK.
(2) These kind of programs are very hard to get right. The first 333
times you try to do this you're likely to make the disk worse than it
originally was. Plus it's hard to tell if you've repaired things
correctly. I wouldnt try to write this unless I had say, six months
of free time and a very high tolerance for frustration.
(3) Most newer computers are using more advanced file systems than
the old MSOS FAT fie syste. For example NTFS. These are much harder
to fix.
Sorry for the disappointing news, but that's the way it is.