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
Specify PC Inventory to be deleted. This option cannot be omitted.
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.
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, enclose the whole path in quotes. In addition, the maximum number of characters that can be specified is 128 fullwidth characters or 256 halfwidth characters excluding the quotes.
For the file of deletion list, refer to "2.5.2 List File of Deletion".
Return value
0: ended normally
Other than 0: ended abnormally
Command saving location
The following folder in CS:
CS Installation Directory \bnserv\bin |
Authority required for execution/executing environment
Administrator authority is required.
This command must be executed on CS.
Cautions
If the output file exists, overwrite it. If the file created previously is required, modify the file name or move this file to another location before executing this command.
When it is abnormally ended, a file (dtpdlterr.csv) of error deletion list will be created under the current directory of the executed command.
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 Data error. [Row Number] = 20 [PC Name] = PC01 [User ID] = 000001 [Details] = Number of character(s) error 03/01/2006 11:15:26 Failed I/O at C:\dellist.csv. [Row Number] = 10 03/01/2006 11:15:27 Failed to delete PC. [Input Number] = 30 [Process Number] = 22 [Error Number] = 4 03/02/2006 13:20:58 The corresponding PC does not exist.[Row Number] = 10 [PC Name] = PC01 [User ID] = 000010 03/02/2006 13:21:28 Error occurs in the database. [Row Number] = 20 03/02/2006 13:21:30 Failed to delete PC. [Input Number] = 50 [Process Number] = 35 [Error Number] = 5 |
File format
Item | Description |
---|---|
Time | Time to execute commands |
Contents | Exceptional contents |
Error contents
Contents | Variable Information | Cause | Resolution |
---|---|---|---|
Data error. [Row Number] = %d %s1 [Details] = %s2 | %d: the corresponding line of deletion list file with exception %s1: PC name, user ID with exception %s2: 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. | Confirm the deletion object PC and user ID, and modify them as the correct PC name and user ID. |
Failed I/O at %s. [Row Number] = %d | %s: deletion list file or error details file %d: the corresponding line of deletion list file with exception | A temporary input or output error occurred. | Execute the deletion command again. If the problem still cannot be solved, confirm whether any error has occurred in OS system. |
Error occurs in the database. [Row Number] = %d | %d: the corresponding line of deletion list file with exception | Error occurred in the database. | Confirm whether an exception has occurred in database and exclude the causes of exception. |
The corresponding PC does not exist. [Row Number] = %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. | Confirm the deletion object PC and user ID, and modify them as correct ones. |
Failed to delete PC. [Input Number] = %d1 [Process Number] = %d2 [Error Number] = %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 | - | 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. Refer to "3.3.4 Messages Output in Inventory Output Command" for details.