Top
Systemwalker Desktop Patrol V14g Reference Manual
Systemwalker

1.16 dtpdlt.exe(Deleting Inventory)

Functionality

PC Inventory in [PC Information] - [Inventory Information] of main menu can be deleted by this command.

Record format

dtpdlt.exe

/p [/s] /f: File Name of Deletion List


Option

/p

Specify PC Inventory to be deleted. This option cannot be omitted.

/s

In the case that deletion failed, specify it when the execution is interrupted in the midway. When omitting, even if an error occurs, the execution can still be continued.

/f: File Name of Deletion List

Specify the name of deletion list file that records deletion object PC and user.

Specify the file with absolute path. If the path contains space, please enclose the whole path in quotes. In addition, the maximum number of characters of characters that can be specified is 256 characters excluding the quotes.

For the file of deletion list, please refer to “2.5.2 List File of Deletion ”.


Return value

0: ended normally

Non-zero: ended abnormally


Command saving location

The following folder in CS:

CS Installation Directory \bnserv\bin


Authority required for execution/executing environment

Cautions

Command execution example

Specify the deletion list file "C:\dellist.csv", and delete Inventory information.

“C:\Program Files\Fujitsu\Systemwalker Desktop Patrol\bnserv\bin\dtpdlt.exe” /p /f:“C:\dellist.csv”


Execution result/output format

The format of output file is the same as that of Master data file.

The format of the error deletion list file is the same as that of deletion list file. By referring to the error details file ("Desktop Patrol Installation Directory\log\dtpdlt.log"), exclude the causes of exception, and the Inventory that failed to be deleted can be used as deletion list file next time.

The examples of error details file are shown as follows:

03/01/2006 11:15:25 There is abnormity in the data. [Corresponding Line] = The 20th line [PC Name] = PC01 [User ID] =000001 [Details] = Character type error

03/01/2006 11:15:26 Fail to input or output to the deletion list.

03/01/2006 11:15:27 Fail to delete a PC.

03/02/2006 13:20:58 The corresponding PC does not exist.[Corresponding Line] = The 10th line [PC Name] = PC01 [User ID] = 000010

03/02/2006 13:21:28 An error occurred in database.

03/02/2006 13:21:30 Fail to delete PC.


File format

Item

Description

Time

Time to execute commands

Contents

Exceptional contents


Error contents

Contents

Variable Information

Cause

Resolution

An exception occurred in the data. [corresponding line] = %s1 %s2 [Details] = %s3

%s1: the corresponding line of deletion list file with exception

%s2: PC name, user ID with exception

%s3: Detail code of exception

   1: the number of characters is incorrect

   2: the type of characters is incorrect

The format of deletion list file is abnormal.

Please confirm the deletion object PC and user ID, and modify them as the correct PC name and user ID.

Failed to input or output %s.

%s: deletion list file or error details file

A temporary input or output error occurred.

Please execute the deletion command again.

If the problem still cannot be solved, please confirm whether any error has occurred in OS system.

Error occurred in the database.

-

Error occurred in the database.

Please confirm whether an exception has occurred in database and exclude the causes of exception.

The corresponding PC does not exist. [corresponding line] = %s1 %s2

%s1: the corresponding line of deletion list file with exception

%s2: the PC name, user ID with exception

The PC corresponding to the PC name and user ID does not exist.

Please confirm the deletion object PC and user ID, and modify them as correct ones.

Failed to delete PC.

[Input Item] = %d1

[Managed Item] = %d2

[Error Item] = %d3

%d1: the total number of deletion object PCs

%d2: the number of PCs deleted successfully

%d3: the number of PCs that are failed to be deleted

-

Please refer to the error log message output before this log message and solve the problem.


When the processing failed, a message indicating failure will be output. Please refer to “3.3.4 Messages Output in Inventory Output Command” for details.