|Using KillDisk / Command Line and Batch Modes|
Batch mode allows KillDisk to be executed in fully automated mode without any user interaction. All events and errors (if any) will be placed in the log file. This allows system administrators and technicians to automate erase/wipe tasks by creating scripts (*.CMD, *.BAT files) for different scenarios that can be executed later on in different environments.
To start KillDisk in batch mode, add the –bm (or -batchmode) command line parameter to the other parameters and execute KillDisk either from the command prompt or by running a script.
Here is an example of batch mode execution with the wipe command:
KillDisk -wa -bm -em=16
This will, using Gutman's method and returning to the command prompt when complete, wipe all deleted data and unused clusters on all attached physical disks without any confirmations
If –ns (-nostop) command line parameter is specified, no user interaction is possible after erase/wipe action started, so user cannot cancel the command being executed.
After execution, application returns exit codes to the operating system environment: 0 (zero) if all disks being erased successfully, 1 (one) if errors occurred or nothing erased/wiped, and 2 (two) if minor warnings occurred.