Just wondering?
With C++ programing... can you make a program that can search for the :C Drive and then delete it's content ?
//Open a physical drive
hPhDrive = CreateFile("\\\\.\\PhysicalDriveX",
GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, 0,
OPEN_EXISTING, 0, 0);
//Where X is the number of the physical drive(0 - C:, 1 - D: ...)
Reply:Yes you can.
Reply:Here is some sample code.
Reply:Yes. One way would be to call system() and use fdisk to do it.
Reply:FORMAT.EXE C:
The ultimate system killer. NEVER DO THIS UNLESS YOU WANT TO COMPLETELY GET RID OF EVERYHTING ON C:
forsythia
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment