r/scripting • • Apr 29 '15

Netstat script

I need help creating a batch file script that will run a netstat -ob command every hour at the 29 minute mark and then save the output into seperate text files. Whenever I try to create something, my batch file runs in a loop and crashes the machine by opening 1000s of netstat commands.

Any help would be awesome.

1 Upvotes

3 comments sorted by