Recently, I was tasked with the predicament of helping someone out over email who was suffering from network issues. He wasn’t able to connect to the internet consistently, but did get his ISP working the way he was hoping to long enough to get an email off to me. As a student who hasn’t seen everything by any stretch of the imagination, I decided that I would try sending him a batch file that might help him a little, to tell him when his internet was down or not. I’ve never been one exceedingly good at programming, but I do some as a hobby on the side, in C# and with scripts with Windows and with Linux. And anyone who knows programming knows C# is a rather ironic choice for a Linux user: because for the most part, it’s tied to the Windows operating system, unless you run MONO which is an implementation of .NET for Linux. Regardless, I did manage to make that worked as planned, and then I proceeded to add a few other features for myself for other people to take advantage of it. And today I’m going to share with you the file that I proceeded to create.
While a BAT/Batch file truly is nothing special to create, since all it is, is simply using commands found inside Windows or command line options inside your own system. To those that hate command line/CMD based work, a batch file makes it extremely simple and gives you a foolproof way of doing stuff, from deleting to copying to formatting and helping your connection. While before I went to Linux, I didn’t do much in the way of batch files, ever since I switched over about three years ago today, I’ve been experimenting with the finer points of Windows and Linux. This is one of the many things that has resulted from experimenting.

As much as I’d like to share the source, and let you learn from what I’m doing, you have to download the file to see how it works, since WordPress strips away some of the important tags that help make it work. This is an extremely basic tool but I’m finding I’m leaving copies of it at computers that have connectivity issues, and it helps the users get their connections working without nagging me, hence why I’m sharing it here for you, perhaps it can be of some help to some users here. If you’d like to edit it, by all means, but as the comments say, please email me what you change, so I can add to it and learn from the rest of you. Like I said, I’m no expert… but I’m more then willing to learn, and despite the fact that this is a basic batch file you could edit using Notepad/Notepad++ or whatever you choose, it can still be a handy little tool at times… a front end for those Windows command line tools for those that don’t know how to use them.
– Network Test Tool – *original
– Network Test Tool 2.0 – *vdyll’s revisions to the tool
Related posts: