

I would hope that this utility, DiskPart, issuing its "clean" command actually does more than clear the data partition info.

It's possible to recover the data with a little work, primarily on the "folders." Format just basically wipes the file data/directory/folder content, not the data elsewhere on the drive.

While I cannot guarantee this article does exactly what it claims it does (I haven't tried it, let alone heard about this way before) I can speak for the way format works now days.ĭrives come pretty much preformatted now days as to its sectors and such. The noerr parameter enables you to perform useful tasks such as using a single script to delete all partitions on all disks regardless of the total number of disks.21240634 said:Am I missing something? Couldn't you just bring up a command prompt and type "format e:" - or some other drive letter? However, diskpart always returns errors when it encounters syntax errors, regardless of whether you used the noerr parameter. By default, if diskpart encounters an error while attempting to perform a scripted task, diskpart stops processing the script and displays an error code (unless you specified the noerr parameter). When diskpart starts, the diskpart version and computer name display at the command prompt. You can add a pause between consecutive diskpart scripts by adding the timeout /t 15 command to your batch file along with your diskpart scripts. Otherwise, the successive scripts might fail.

You can run consecutive diskpart scripts, but you must allow at least 15 seconds between each script for a complete shutdown of the previous execution before running the diskpart command again in successive scripts. When using the diskpart command as a part of a script, we recommend that you complete all of the diskpart operations together as part of a single diskpart script.
