wengang
Jul 27th, 2000, 11:59 PM
Hi. Sorry to bring this up again, but I'm still working on the floppy disk thing.
Has anybody tried to build an application like scandisk that marks sectors on a disk as bad when they cannot read-write?
So far, all I have been able to get is that Scandisk uses a dll called dskmaint.dll in Windows\system\
If you run that thru a hex editor, you can see that it mentions something near the end about Windows API s for disk maintenance.
So, i guess that means there would be an API call in VB that could make this work as well.
Any thoughts?
By the way, in case anyone cares, sth I found on the net to remove the BAD cluster label placed by SCANDISK, just change the number set in the registry under Check Drive:Settings so that the last two digits are 04. Then run scandisk again and it will give you the option to remove the markers. After one run, values return to 00.
Has anybody tried to build an application like scandisk that marks sectors on a disk as bad when they cannot read-write?
So far, all I have been able to get is that Scandisk uses a dll called dskmaint.dll in Windows\system\
If you run that thru a hex editor, you can see that it mentions something near the end about Windows API s for disk maintenance.
So, i guess that means there would be an API call in VB that could make this work as well.
Any thoughts?
By the way, in case anyone cares, sth I found on the net to remove the BAD cluster label placed by SCANDISK, just change the number set in the registry under Check Drive:Settings so that the last two digits are 04. Then run scandisk again and it will give you the option to remove the markers. After one run, values return to 00.