Functional Specification
Delete the E-mail saved by E-mail content saving function of Systemwalker Desktop Keeper from Management Server/Master Management Server.
Collectively delete E-mails before specified number of days, specified number of months or specified date.
Command Format
Execute according to the following format in the command prompt.
DTKMLDL <Days|Months> [MONTH|month <Day>]
Option
Specify the number of days, number of months or date from which the E-mail content to be deleted is kept.
The number of days is a number within "0" - "999", number of months is a number within "0" - "99" and date is a number within "20010101" - "20351231". When the entered number of days is 8 digits, it will be considered as date. For digits apart from this, determine whether it is number of days or months through the content specified in "MONTH|month".
Omit it when specifying number of days or date.
If "MONTH" or "month" is entered, the number of <Days|Months> will be considered as the number of months passed.
When "MONTH|month" is specified, enter a number within "1" - "31".
In the case of "1" - "31", the date of the month entered in <Days|Months> will be specified, while In the case of "99", it will be calculated as the last date of the month entered in <Days|Months>.
Return Value
Ended normally
Ended abnormally
Location for Saving Commands
Installation folder of database related files\BackupCommand\DTKMLDL.BAT
Authority Required for Execution/Execution Environment
Execute with a user that belongs to the Administrators group of the local computer or a user that belongs to the Domain Admins group of the domain.
Execute on the Management Server/Master Management Server.
Internally Used Command
The following commands are used internally. Before using this command, confirm how to use internal command and notes.
DTKBFDM.EXE
Note
The command execution result will be output to the command prompt. To remain the execution result, specify the file to output execution result through redirection when executing this command.
"C:\DTK\MailContents" will be specified in the folder of deletion target. Modify according to the environment of installation target.
When executing this command in Windows Server 2008, Windows Server 2012, or Windows Server 2016, it is necessary to open the command prompt with "Run as Administrator".