Top
Systemwalker Desktop Keeper Reference Manual
FUJITSU Software

1.14 DTKMLDL.BAT (Delete E-mail Content)

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

<Days|Months>:

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".

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.

<Day>:

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

[ERRORLEVEL] 0:

Ended normally

[ERRORLEVEL] 1:

Ended abnormally

Location for Saving Commands

Installation folder of database related files\BackupCommand\DTKMLDL.BAT

Authority Required for Execution/Execution Environment

Internally Used Command

The following commands are used internally. Before using this command, confirm how to use internal command and notes.

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".