Compile error for Attiny 1604

Hi I am getting compile error when i try to generate the hex file for the Attiny-1604. But when i compile the program, it does so just fine.

I posted what im getting below.

"C:\Users\admin\AppData\Local\Arduino15\packages\DxCore\tools\avr-gcc\7.3.0-atmel3.6.1-azduino6/bin/avr-size" -A "C:\Users\admin\AppData\Local\Temp\arduino\sketches\AE024B6E4B3E880C706203CE1E90D02B/dash_firmware_v1.ino.elf"
The system cannot find the path specified.
Sketch uses 1954 bytes (11%) of program storage space. Maximum is 16384 bytes.
Global variables use 53 bytes (5%) of dynamic memory, leaving 971 bytes for local variables. Maximum is 1024 bytes.
cmd /C echo. && copy "C:\Users\admin\AppData\Local\Temp\arduino\sketches\AE024B6E4B3E880C706203CE1E90D02B\dash_firmware_v1.ino.lst" "{sketch_path}\dash_firmware_v1.ino.t1604.20c0.mA0.v268.lst"

    0 file(s) copied.

exit status 1

Compilation error: exit status 1

After a compilation you can see the directory where you can find the hexfile. Look carefully in the message window (where you copied your error from).
You may need to turn of verbose output in "settings".

The commands what you shown doesn't generate a HEX file, it just to calculate the code size.

I used the older IDE and it now works. Thanks