Transfer parameters of the TcProjectCompare

Since not all special features of the various clients can be dealt with here, the transfer parameters of the TwinCAT Project Compare Tools are briefly described below:

Transfer parameters for TwinCAT version 4020 or higher:

/filel

File path – left side.

/filer

File path, right side.

/filem

File path for the merged file.

/dl

Display name, left side.

/dr

Display name, right side.

/sc

Call via source control client.

Transfer parameters for TwinCAT versions 4018 or lower:

 

File path – left side.

 

File path, right side.

 

File path of merged file.

/dl

Display name, left side.

/dr

Display name, right side.

/sc

Call via source control client.

In Project Compare tool version or lower 4018 the file paths for the left, right and merged file were determined based on the order in which they are called. The order was always left, right, merged file.

Samples:

Compare (Compare/Diff):

Version 4018 for PlasticSCM:

C:\TwinCAT\3.1\Components\TcProjectCompare\TcProjectCompare.exe "@destinationfile" "@sourcefile" /sc

Version 4018 for TFS:

C:\TwinCAT\3.1\Components\TcProjectCompare\TcProjectCompare.exe %2 %1 /dl %7 /dr %6 /sc

Version 4020 for TFS:

C:\TwinCAT\3.1\Components\TcProjectCompare\TcProjectCompare.exe /filel %2 /filer %1 /dl %7 /dr %6 /sc

Merge:

Version 4018 for PlasticSCM:

C:\TwinCAT\3.1\Components\TcProjectCompare\TcProjectCompare.exe /dl "@destinationsymbolic" /dr "@sourcesymbolic" "@destinationfile" "@sourcefile" "@output" /sc

Version 4018 for TFS:

C:\TwinCAT\3.1\Components\TcProjectCompare\TcProjectCompare.exe %2 %1 %4 /dl %7 /dr %6 /sc

Version 4020 for TFS:

C:\TwinCAT\3.1\Components\TcProjectCompare\TcProjectCompare.exe /filel %2 /filer %1 /filem %4 /dl %7 /dr %6 /sc