Programming Arduino Leonardo by a batch file

wanna give some detail on how you tried it?