M
Matthias Pfeffer
hello!
i want to run a check disk in my program and i found the function chkdsk()
in the win32_logicaldisk class.
http://msdn.microsoft.com/library/d.../chkdsk_method_in_class_win32_logicaldisk.asp
it works fine, but i don't get the information back, that i want.
this are the reutrn paramters:
0 Success - chkdsk completed
1 Success - Locked and chkdsk scheduled on reboot
2 Failure - Unknown file system
3 Failure - Unknown error
the function says only if the chkdsk completed successfully or not. but not
if my media is broken! :/
is it possible to find out if the checked media is faulted?
th 4 help
i want to run a check disk in my program and i found the function chkdsk()
in the win32_logicaldisk class.
http://msdn.microsoft.com/library/d.../chkdsk_method_in_class_win32_logicaldisk.asp
it works fine, but i don't get the information back, that i want.
this are the reutrn paramters:
0 Success - chkdsk completed
1 Success - Locked and chkdsk scheduled on reboot
2 Failure - Unknown file system
3 Failure - Unknown error
the function says only if the chkdsk completed successfully or not. but not
if my media is broken! :/
is it possible to find out if the checked media is faulted?
th 4 help