Just for the record.
The script is for the program diskwipe that can be found here:
http://www.diskwipe.org/
Which seemingly does NOT wipe "disks" but only "drives" (intended as "whatever gets a drive letter in windows").
There is NO reason whatsoever to use anything but a single 00 pass.
There is NO reason whatsoever to do a format (quick or not) before wiping.
Since Vista the built-in FORMAT command (WITHOUT the /q switch) already zeroes each and every sector on the drive (and re-writes the new filesystem structures), thus representing a good-enough form of "privacy protection".
This tool will seemingly do the same, without re-writing the new filesystem structures after.
This:
http://www.diskwipe.org/
Ok, what about formatting? Unfortunately, formatting a disk drive can not help securing the permanent deletion either. Formatting a disk drive does not actually overwrite the data, and although it is way better than deleting the file from within Windows it is still very easy to retrieve data back from a formatted disk.
is thus incorrect (for Vista and later) while this:
In it's simplest form the new data written could be all zero's, but more advanced algorithms use a combination of filling up a disk with random information plus multiple passes to ensure impossibility of retrieval from a wiped disk.
Is a way to perpetuate the MYTH of the multiple passes that represent only a way to spend more time and unneededly stress the device without increasing in any way the "safety" of the wipe.
The recommended way to wipe a disk (the WHOLE disk) which happens to also be the fastest one is to use the disk built-in (in hard disk drives) SAFE ERASE command.
For USB sticks and the like ideally one should use the appropriate Manufacturers Tool, this approach would be effective only for USB sticks that have not been partitioned (i.e. like they normally come from factory) but it may leave as well (like on hard disk) behind MBR+Hidden sectors+unpartitioned space on any partitioned media, in this case a tool like dd or dsfi seems more appropriate. (still the manufacturer's tool will manage also spare sectors and thus is way more secure).
More here:
http://reboot.pro/to...e-from-windows/
Wonko