But it works right? You havent yet got the chance to see if the people can join with the jar right?
So just continue using that .bat file and go read up some Minecraft server setup tutorials that are around.
I think you wanna host it on the PC you are playing too, those (most of the times) arent port forwarded automatically.
And dont tell me i have to give you a lmgtfy.com link (hint keywords are underlined)