Using External Editor

Hi people.

How can I compile and upload my sketch through a bat file? I don’t like Arduino Editor, so I use a external editor. I just use Arduino Software to compile and upload.

Can you help me?

regards

What operating system are you on?

Windows Vista Ultimate