avrdude no sync in cmd


I'm trying to use the command line in XP to burn a .hex file into my arduino duemilanove but after try it I have this error:

C:\Datos\CodFuente AVR\default> avrdude -c arduino -p m328P -P com3 -U flash:w:LedBlinkInt.hex
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done. Thank you

The question is: Why it works using arduino IDE and it doesn't when I use avrdude in cmd?? >:( >:(

No one knows how to fix this problem?? :slight_smile: :slight_smile: