I suspect that there is a problem somewhere in my Dell Precision laptop, running XP Pro, that causes the wireless internet connection to be lost after about a half-hour of connection time. The wireless router is fine, as another laptop runs without problems.
To restore my connection, I can right click on the toolbar's wireless icon, and choose repair. However, sometimes this fails to resolve the problem, so I now open "Network Connections" right click on the wireless connection and select "disable". And then right click again and choose "enable". This always seems to work.
I would like to automate this process so that running a program/script/etc. on my desktop would take those actions for me. It is tiresome clicking through the same steps over and over. (Given that solution, I'd probably write a program to check the connection every two minutes and automatically call repair when needed.)
Is there some way to do the disable/enable steps from a script/program/etc. ?
I program in C#, but have been unable to find commands to do this.