Results 1 to 2 of 2

Thread: .bat question (right forum?)

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Posts
    8

    .bat question (right forum?)

    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


  2. #2
    Banned
    Join Date
    Aug 2003
    Posts
    130
    You could use
    netstat -an
    ^that displays ports that are open
    the number after the ip address is the port number.
    You could get a port scanner and scan your ip. That would work better.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •