How to run BCWipe from the command-line prompt
You may run BCWipe commands to wipe free space on the disk and delete files or folders with wiping from
the command line prompt.
This allows you to insert wiping commands to your batch (*.bat) files and then run the batch file when
you wish to run a number of wiping procedures with custom parameters.
BCWipe Setup program installs the program BCWipe.exe to the directory you have chosen during installation.
All the commands of the BCWipe.exe program include the Mode parameter,
which describes wiping scheme and can be one of the following:
- DoD - Seven passes predefined pattern scheme according to US DoD 5200.28-STD standard, (default scheme);
- PG - Peter Gutmann 35-passes predefined pattern scheme;
- PF[file path name] - Previously created file with custom wiping scheme;
- PS[scheme name] - User defined wiping scheme, created with Wiping Scheme Editor
- UD[1..100] - User Defined Number of wiping passes (first passes use complement patterns, the last pass uses random buffer);
To wipe free space on hard drive partition, run BCWipe.exe with the following parameters:
BCWipe FreeSpace [-Mode] [-Options] [drive name]
[Options]
- NoSwapFile - Disable swap file wiping ( by default it will be wiped );
- NoFileSlack - Disable file slack wiping ( by default it will be wiped );
- NoEmptyRecycleBin- Disable emptying Recycle Bin ( by default it will be erased );
- NoDirEntries - Disable directory entries wiping ( by default they will be wiped );
- Hidden - Make process hidden and silent.
EXAMPLE:
> BCWipe FreeSpace -DoD -NoFileSlack -NoEmptyRecycleBin -NoDirEntries C:
To delete files or folders run BCWipe.exe this way:
BCWipe Delete [-Mode] [-Options] [file or folder name or @listFile] [file or folder name]...
[Options]
- NoSwapFile - Disable swap file wiping ( by default it will be wiped );
- NoDirEntries - Disable directory entries wiping ( by default they will be wiped on FAT drives );
- View - Start BCView after wiping file contents and before final deleting the file.
- @listFile - Text file where every file name starts from a new line.
EXAMPLES:
> BCWipe Delete -PG -NoSwapFile -NoDirEntries -View C:\SecureData.doc
> BCWipe Delete C:\Test
will delete ALL FILES IN THE FOLDER , and REMOVE THE FOLDER ITSELF! Compare the command with the following one:
> BCWipe Delete C:\Test\*.*
In the last example BCWipe deletes files inside the Test folder, but does not delete the folder.
To wipe the swap file, run BCWipe.exe with the following parameters:
BCWipe WipeSwapFile [-Mode]
EXAMPLE:
> BCWipe WipeSwapFile -UD1
To run BCWipe for wiping file slacks, run BCWipe.exe with the following parameters:
BCWipe.exe FileSlack [-Mode] [-Options] [file or folder name or @listFile] [file or folder name]...
[Options]
- View - Start BCView twice before and after file slack wiping.
- @listFile - Text file where every file name starts from a new line.
EXAMPLE:
> BCWipe FileSlack -UD3 -View C:\Test.txt
Note that when you run BCWipe.exe with the FileSlack parameter, the program does not shred the file itself,
it only wipes slack of the file. Neither contents of the file, nor its attributes become changed.
ATTENTION: the BCWipe.exe utility works without asking any additional confirmation for
deleting files and for wiping free space on the disk. The program is designed so to provide a silent functionality when you run
it from batch files.
- -Hidden - allows running the wiping utility in background,
- -SuperHidden - same as previous, but it also hides the free space wiping progress bar,
- -LF[log file name] - assigns log file for wiping process,
- -LS[size in KBytes] - allows size limitation for the log file.
EXAMPLE:
> BCWipe Delete -Hidden -LFC:\BCWipe.log –LS200 C:\Test\*.*