# cmptad

## Description

The `cmptad` Windows tool checks the SRL identity of two specified files. Specifically, a check is made of the following combination.

- The SRL identity included in two specified TAD files
- The identity of the SRL included in a specified TAD file and a specified SRL

Because different data is output each time a TAD file is created using `maketad.exe`, it is impossible to compare the SRL without this tool.

## Using the Tool

### Start Command

`% cmptad [-s] <tad1>|<srl1> <tad2>|<srl2>`

For `<tad1>|<srl1>` and `<tad2>|<srl2>`, specify the path to the target TAD or SRL file to be compared.

Specifying the `-s` option prevents any output to standard out.

### Return Values

- Return value = 0: Returned when there is no error and the two files are the same.
- Return value = 1: Returned when there is no error and the two files are different.
- Return value = 2: Returned when there is an error with a command line argument.
- Return value = 3: Returned when there is an error with a specified file.

## Location

`$TwlSDK/tools/bin/cmptad.exe`

## See Also

None.

## Revision History

2008/12/04 Added a description of how to compare between TAD and SRL files.
2008/10/06 Initial version.

CONFIDENTIAL