Pity you didn't mention which Arduino you have and which OS you're on.
This will read an UNO. Just paste it into a *.bat file, (I named mine "ReadUNO.bat"):-
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude" -C"C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf" -c arduino -P com4 -p atmega328p -Uflash:r:code.hex:i
pause
Then you'll need to alter the paths to avrdude(.exe) and avrdude.conf to suit your setup, along with the COM port you're using.
Click on the batch file, and the hex file will be saved in the current folder.
To write the *.hex file to another UNO, paste this into a *.bat file, (I named mine "WriteUNO.bat"):-
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude" -C"C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf" -v -patmega328p -carduino -PCOM4 -b115200 -D -Uflash:w:code.hex:i
pause
Again, edit the paths and COM port to suit your setup.
Click on the batch file, and the hex file will be written to the target UNO.
To keep things neat, create a folder to contain all of the above.
Hopefully you are talking about an UNO, or it's different.