Hi,
What are your trying to achieve???
Do you want to ban an IP address from your home router??? - this would be easier to ban it via the router's web GUI.
Or,
Do you want to open a batch file, input a IP address and then have the batch file remove that IP from your network. ie, not allow it any access at all. - I'm not sure if this is possible via batch.
If you've got a router you'd have to find a way to import commands to it (not sure if that possible not knowing the type of router you have), if this is a work based question and you've got a domain with Active Directory it can be archived, but with a VBScript.
Let use know what camp your in.