Console application TrustPort DataShredder

Console application TrustPort DataShredder is designed for advanced users and the network administrators who need to start the shredding from the system Windows console or from the scripts.

Console application TrustPort DataShredder is installed to the same directory as the graphic version of TrustPort DataShredder application. If you wish to use this console application, then start Command Prompt (In Windows 98 and Me, the command prompt is also called the MS-DOS prompt) by selecting "Start/Programs/Accessories/Command Prompt" and go to the directory where is the application TrustPort DataShredder installed, for example. "C:\Program Files\TrustPort DataShredder\Bin". By writing down the program name (dshrcon.exe) and by pressing Enter is displayed the Help for the program. The detail parameter description is stated below.

Program dshrcon.exe has the following syntax dshrcon.exe [ parameters ] [ file | directory ] . The value parameters, file or directory need not be entered. If there are not entered any parameters, then only help is displayed and the program is finished. The value parameters can contain parameters stated and described below. For values file or directory is possible to enter any file or directory that you want to shred. The file or directory can be also specified by relative way.

Parameter list

Parameter Meaning
--help (-h) Help display with parameter overview that can be used. When the Help of TrustPort DataShredder is displayed, the application is finished.
--showmethods (-z) If you use this parameter, in TrustPort DataShredder is displayed a list of available shredding methods. After the display of methods, TrustPort DataShredder is finished.
--yes (-y) Suppression of requirements display of files and directories shredding files and directories confirmation. It means that during the use of this parameter, the TrustPort DataShredder will not ask if it should shred the file or directory. Also it will not ask in case that the file or directory has an attribute set.
--version (-v) View of version of TrustPort DataShredder application. After the version is displayed, the application is finished.
--method (-m) This parameter serves for determination what method should the file use for shredding. The method is specified as a parameter entered after --method= or after -m . The possible method values can be found by --showmethods . When using this parameter it is necessary to enter also the method; this parameter can not be used without selection a method that should be used. Example of use: dshrcon --method=usdod or dshrcon -m quick .
--genrep (-g) Parameter starts function of generating the report files. The report is written to the file and can serve for example for evidence of shredded files and folders.
--repfile (-r) This parameter determines which file should be used for shredding reports. Behind the parameter --repfile must be entered the path the report file. If the file do does not exist, then it is created automatically. If the record report of files is not on with the help of parameter --genrep , then this parameter is ignored.
--askrep (-p) If you enter this parameter, then TrustPort DataShredder will ask before shredding for the file name where the report should be recorded. This parameter is applied only in case when the record of file report is turn on with the help of parameter --genrep . If both this parameter and the parameter for direct determination of the file name with the report ( --repfile ), then the application TrustPort DataShredder will asked to enter a file name for report recording and file name specified in parameter --repfile are ignored.
--repover (-o) Parameter starts a function of file overwriting before each shredding. If the parameter is not specified, then the report will be always added to the end of the file. This parameter is applied only in case that there is started report with the help of parameter --genrep .
--inettemp (-i) This parameter starts the function of shredding of temporary internet files.
--cookies (-c) This parameter starts the function of shredding cookies.
--systemp (-s) This parameter starts the function of shredding temporary system files.
--recbin (-b) This parameter starts the function of shredding the recycle bin of the system Windows.
--inethist (-n) This parameter starts the function of shredding internet history of program Internet Explorer. The list of visited pages will be shredded and list of written addresses in address line in Internet Explorer also.
--dochist (-d) This parameter starts the function of shredding the list of recently opened documents.
--runhist (-u) This parameter starts the function of shredding the list of started applications by Start.
--all (-a) This parameter is a combination of parameters --inettemp , --cookies , --systemp , --recbin , --inethist , --dochist a --runhist . If you want to shred all the available temporary files, system directories and history, then it is sufficient to use this parameter.

When the shredding is finished, there is displayed a report how many files and directories were shredded and the operation was done successfully.

Example of use:

dshrcon.exe --method=usdod --all - It shreds by method U.S.DoD all the accessible temporary files, directories and history.
dshrcon.exe --method=usdod c:\data\private.txt - It shreds by method U.S.DoD the file c:\data\private.txt
dshrcon.exe -m quick -g -r c:\report.rpt -o -a - It shreds by method QUICK all the accessible temporary files, directories and history with creation of report file c:\report.rpt, that will be overwritten.

Related references

Main page