Rather than a batch file, I'd recommed using aliases.
Here are a few suggestions, but if you want more detailed help, I'll need to know just exactly what you want to do
Put this code into your aliases
/network /server -m $$1
/register /ns register $$2 $$3
/network Network name
/register Password E-mail address