Question: that opens Minecraft.exe, and logs in when clicked. Is this possible?

Answer: 
Hmm, Is this what you want; it should work:

```
@echo off
"%cd%\minecraft.exe" username password serverip

```

edit the username, password and ip to your liking.

---

A Better Solution in my opinion: 

Just figured it out, the batch file doesn't work, however; when set up as a shortcut it does! So create a new shortcut and for the path use this:

Format:

```
"<FilePath>" <username> <password> <server>

```

Example:

```
"C:\Program Files\Minecraft\Minecraft.exe" bobjones passchuck 123.123.123.123

```

Hope that works out for you, alot simpler then a bath file IMO.

also if you don't include IP, it just goes and logins in to minecraft. Stopping at the title screen.
<http://www.minecraftwiki.net/wiki/Tutorials/Setting_up_a_server#Start_the_Minecraft_Server_.28.jar_version.29>

To start the jar version of Minecraft on Windows, create a new file in Notepad, and paste in
java -Xms512M -Xmx1G -jar minecraft\_server.jar
Save the file as startserver.bat, and place the file in the same folder as minecraft\_server.jar. The .bat extension saves the file as a batch file.