I'm trying to test some software that interfaces with chkdsk, interprets the results, and displays something to the user. I want to test scenarios where chkdsk returns errors but I'm having a hard time getting into these scenarios as all the hard drives I have access to do not report any drive errors.
Is there a way to force a disk to have errors either by "ruining" the drive by running some software or code that will mess it up? Is there a trick I can do to get chkdsk to return some errors so I can see what the error output looks like in a repeatable way?
Any help would be great, thanks!
I'm trying to test some software that interfaces with chkdsk, interprets the results, and displays something to the user. I want to test scenarios where chkdsk returns errors but I'm having a hard time getting into these scenarios as all the hard drives I have access to do not report any drive errors.
Is there a way to force a disk to have errors either by "ruining" the drive by running some software or code that will mess it up? Is there a trick I can do to get chkdsk to return some errors so I can see what the error output looks like in a repeatable way?
Any help would be great, thanks!
0 commentaires:
Enregistrer un commentaire