PDA

View Full Version : How to Un- Initialize the drive in xp?



Gokulnathvc
12th May 2011, 06:42
How to un-initialize the hard drive using QT? win 7 has the disk management in which the drive can be made offline. How to make the same in xp and vista?

wysota
12th May 2011, 06:43
Why are you asking this on a Qt forum?

squidge
12th May 2011, 07:47
It seems that people are expecting Qt to do everything now rather than just a gui toolkit, and I must admit, it does now do a lot besides gui.

However, platform specific tasks such as this I don't think will ever be supported.

ChrisW67
12th May 2011, 23:45
How to un-initialize the hard drive using QT? win 7 has the disk management in which the drive can be made offline. How to make the same in xp and vista?
You will be dismayed to learn that there is no pretty GUI for this on Windows Vista and that there is no Qt supplied QMakeAWindowsVistaDiskOffline class: http://lmgtfy.com/?q=windows+vista+diskpart
I am unaware of any way to do this on Windows XP and there is no QMakeAWindowsXPDiskOffline.

I can tell you are very disappointed with the terrible low-level, Windows-specific disk management support in Qt. I think that you will find some solace in the advice here: http://www.catb.org/~esr/faqs/smart-questions.html#forum