loading Arduino sketch from DOS command line

I'm new to Arduino. Is there a simple (already compiled) program to load and run a sketch from the DOS command line? For example:

c:> loadsketch mysketch.ino

From IDE 1.5.? it has been possible to call the IDE from the command line. This Thread illustrates the idea.


Thanks R! Works perfectly--just what we needed.