Click here to Skip to main content
12,064,615 members (29,844 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++ C++/CLI file-system
Hi,

I want to do the operation of check disk through program.. Is it possible?

If yes, How can it be done ?

If no, How does backup softwares does this operation? Is there any alternative method?


Thanks
Posted 25-Apr-13 5:17am
Comments
Maximilien 25-Apr-13 11:10am
   
check what ?
Does this link help?
http://www.codeproject.com/Articles/28314/Reading-and-Writing-to-Raw-Disk-Sectors
CHill60 25-Apr-13 11:26am
   
It's possible but not a good idea - see http://forums.codeguru.com/showthread.php?138817-Help-chkdsk[^]. Are you sure that's what you really want to do ... backup software is unlikely to check the disk.
Philippe Mori 25-Apr-13 18:57pm
   
As far as I know, backup software don't verify the disk itself but will check if the copy they made is identical to the original.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web04 | 2.8.160204.4 | Last Updated 25 Apr 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100