Print Download PDF Send Feedback

Previous

Next

contract_util cpmacro

Description

Overwrites the current cp.macro file with the specified cp.macro file, if the specified is newer than the current file.

For more information about the cp.macro file, see sk96217: What is a cp.macro file?

Syntax

contract_util cpmacro /<path_to>/cp.macro

This command shows one of these messages:

Message

Description

CntrctUtils_Write_cp_macro returned -1

The contract_util cpmacro command failed:

  • Failed to create a temporary file.
  • Failed to write to a temporary file.
  • Failed to replace the current file.

CntrctUtils_Write_cp_macro returned 0

The contract_util cpmacro command was able to overwrite the current file with the specified file, because the specified file is newer.

CntrctUtils_Write_cp_macro returned 1

The contract_util cpmacro command did not overwrite the current file, because it is newer than the specified file.