lundi 21 avril 2014

Windows - je peux simuler des erreurs de disque à l'aide de logiciel ou programmation chkdsk retournera des erreurs pendant l'essai ? -Débordement de pile


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