I will try and reply in one or two days.@OP: I can't say if you can create a batch file for this purpose, but you can make a simple VB script to the same purpose, and call that from a batch file. (Assuming you are using Windows XP).
If you want to create the script, following would be the best page to do that:
Microsoft Windows 2000 Scripting Guide - Sending Keystrokes to a Program
Tell me, if you were unable to make it, since I got successful in making one.