Using command line you can create special .lnk files to customize and automate SecuWipe processes - either for automatic and silent wiping, for integration with your own applications or for execution in conjunction with autorun scripts.
The command line syntax is:
..\secuwipe.exe [/option][:parameter]
You can specify the following options when working with SecuWipe from command line:
/silent – SecuWipe will execute with no warning dialog, no progress bar dialog, no success message. The executable will be remaining in RAM if /unload-flag is not set
/unload – SecuWipe will be unloaded after it finishes operation. This will close .exe in any case - even if the application returned some kind of error.
/wipe:<folder path> - wipes the specified folder and specific file
/format - it is an additional flag to the command
/wipe:<folderpath> /freespace – the selected folder will be wiped, then the remaining free space
"/wipe:<folderpath> /freespace /format" – in case the storage card has been selected to be wiped - the card will be formatted before wiping
/minimize - minimizes SecuWipe automatically on launch, hides the main window
/freespace
- erases the free space on the device pointed to by the /wipe switch (must be used with the /wipe switch)
- Can be also used as a standalone parameter to wipe particular memory, e.g. /freespace:"Storage Card" ;
- Can be an additional flag to /wipe - to wipe the remaining space, e.g. /wipe:\doc.txt /freespace
Selecting Wipe methods:
/level:1|2|3|4|5|6 – is an additional flag to /wipe and /freespace, e.g. /wipe:\file.bin /level:2
Level 1 – zero filling
Level 2 - U.S. DoD 5220.22-M (C)
Level 3 - U.S. DoD 5220.22-M (E)
Level 4 - U.S. DoD 5220.22-M (ECE)
Level 5 - Bruce Schneier's algorithm
Level 6 - Peter Gutmann's algorithm
1. Wipe file "\My Documents\Note1.pwi" without freespace and wiping level "DoD 5220.22-M (E)":
SecuWipe.exe /wipe:"\My Documents\Note1.pwi"
2. Wipe file "\My Documents\Note1.pwi" without freespace wiping and wiping level "DoD 5220.22-M (ECE)":
SecuWipe.exe /wipe:"\My Documents\Note1.pwi" /level:4
3. Wipe file "\My Documents\Note1.pwi" with freespace and wiping level "DoD 5220.22-M (C)":
SecuWipe.exe /wipe:"\My Documents\Note1.pwi" /freespace /level:2
4. Wipe "\Temp" folder without freespace and wiping level "Peter Gutmann's algorithm":
SecuWipe.exe /wipe:\Temp /level:6
5. Wipe "\Temp" folder without freespace wiping and level "Bruce Schneier's algorithm":
SecuWipe.exe /wipe:\Temp /level:5
6. Wipe "\Temp" folder with freespace and "Zero-filling":
SecuWipe.exe /wipe:\Temp /freespace /level:1
7. Wipe main memory freespace and "DoD 5220.22-M (E)":
SecuWipe.exe /freespace /level:3
8. "Storage Card" freespace wiping with "DoD 5220.22-M (C)":
SecuWipe.exe /freespace:"Storage Card" /level:2
9. "Storage Card" content wiping with "DoD 5220.22-M (C)":
SecuWipe.exe /wipe:"Storage Card" /level:2
10. "Storage Card" complete wiping (both data and free space) with "DoD 5220.22-M (E)":
SecuWipe.exe /wipe:"Storage Card" /freespace
11. "Storage Card" complete wiping (both data and free space) with "DoD 5220.22-M (E)" but with formatting before wiping:
SecuWipe.exe /wipe:"Storage Card" /freespace /format