scripting tcpvcon

Home Forums Scripting General Scripting scripting tcpvcon

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    miatech
    Member
    #143510

    guys, I just downloaded tcpview, but it comes with a little command “tcpvcon.exe” which I’m trying to run several times a day, kind of taking a tcp snapshot and putting it on a txt file.

    echo off
    tcpvcon -anc > C:tcp_snapshopt.txt
    [/CODE]

    now, my dilemma is that the file keeps overwriting itself; is there any way to use wildcards or any other method to create like: tcp_snapshot_1.txt, 2.txt, 3.txt, etc.

    Thanks[CODE]echo off
    tcpvcon -anc > C:tcp_snapshopt.txt
    [/CODE]

    now, my dilemma is that the file keeps overwriting itself; is there any way to use wildcards or any other method to create like: tcp_snapshot_1.txt, 2.txt, 3.txt, etc.

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.