Windows xp Command line Compiling and uploading with version 0021

Can anyone tell me how to do Windows xp Command line Compiling and uploading with version 0021? :*

From the IDE, hold down the shift key when you press the Upload button. The output shows all the commands used.

for command line programing the arduino you can try the following link
http://johanneshoff.com/arduino-command-line.html
I tried out, it is successfully generating the output hex file.

Regards,
Bala
Tenet Technetronics