@set YEAR=%date:~0,4%
@set MONTH=%date:~5,2%
@set DAY=%date:~8,2%
@set POSTFIX=%YEAR%%MONTH%%DAY%%
hex6x HexCmd.cxd

mergehex_nfa

del TVM_CPB_Application.hex
ren CPB_ALL.hex TVM_CPB_Application.hex

