Ok, I have this .bat file that I'm working on and I wanted to see if you guys could give me some pointers.

Code:
netstat -ano | find "1025"
That works fine, but I would like my .bat file to display numerous ports, pending they are open. How could I modify this .bat to make this possible. Please.

Sorry if I missed something obvious or if this is the wrong forum.

/thanks