Avrdude error writing hex file,previously read by same avrdude from nano328P

I am sorry if i am at wrong place, newbie here.

I extracted .hex file using Avrdude from Arduino Nano Atmega328P. The problem is when i tried to Write same .hex file to Nano 328P board using Avrdude i get following message as shown in fig1. (error). no valid record found in Intel hex file.

but when i tried to upload hex file build after compiling code in arduino IDE. it was successfully written to my Nano 328P. as shown in fig2.

i am unable to understand this problem.