Create batch file for setting new DNS server settings
Hi all,
Because I have to VPN into my work network every day, I have the laborious task of having to manually change the DNS settings on my wireless adapter each time I have logged in through the VPN so that the DNS settings are working correctly, then when I log out of the VPN I have to reset the DNS settings on my wireless adapter (change setting back to...'Obtain DNS server address automatically') so that I can use the wireless card when I am not VPN'd into my work network.
What I was thinking was to wrap up these changes into a Batch file so that I can just click this for it to run the changes.
Is this at all possible, and if so, can you shed some light on how to do this?
Bookmarks