How to set up Minecraft batch file/server?

I'm on Windows 7, 64 bit computer, 64 bit java. Haven't changed a thing with files or codes like Path variable and Java location.
I downloaded the Minecraft.exe and not the.jar from their website, I'm not sure if that makes a difference.
Trying to play Minecraft 1.7.1 if that makes a difference.
The folder that's holding everything is simply called "Minecraft Server"

So basically I'm at the step where I've made a text document called "run", ready to type in some CODE. Then after that I save as run.bat, all files, and it should work.
I'm asking what is the CODE to put into the text document with everything I've got going. Also if anything above needs to be changed to make this work.
Thanks.

Also please don't just post another link, I've read a bunch and it just doesn't work. The batch either can't find java or just opens and closes immediately. Need someone who can just tell me my specific CODE so this will work.

Added (1). Just mentioning, the normal way to open a server works fine. But this I've read is a better way to host a server with much less lag, which would be extremely helpful.

- this video should help you out.

The problem you have is complex. First off, the exe file is the wrong one. You want the.jar file. The code you entered will not function the way it is, it requires customization to work correctly with your hardware and system architecture. Also, that jar file directly from minecraft will only be vanilla minecraft. If you want plugins and mods you may want to consider running a bukkit server or spigot server. I personally use bukkit servers.

Beyond this part, you actually still have several steps to go before other players can connect to your game. Namely, port forwarding and primary server configuration.

I can help a lot more with this issue if you would like to talk in the forums as the process is lengthy and will likely take a few hours to finish. That, or maybe I can preconfigure one for you. If you would like to talk further please contact me in the forums of my website. The link is below. Also below is the code I use for a bukkit server.

CODE:

@ECHO OFF
TITLE Minecraft
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx2048M -jar craftbukkit.jar
PAUSE

Please visit us at:
website: www.cobblehut.com
server: play.cobblehut.com