How to ping from a VMS box with UCX installed on it:
ucx ping {hostname|ip}
The only way to *really* flush DNS without rebooting Windows. First determine the funky name (not sure what the proper label would be) for your network adapter. It may take some guesswork unless you're smarter than me. On some systems there are obvious labels next to the funky names, on others not. It seems to depend on the driver. Here's the command you type:
devcon listclass net
Once you've got the funky name, edit the following script to your needs and save it as a .bat file. This is the script I use on my own system:
This is a collection of scripts I use to manage Windows network adapters. They help me keep sane when using a Windows notebook. I work in several varied environments and am always moving and connecting in new locations. These scripts automate:
ipconfig /flushdns only works half the time!You can use a program like RunFast to pop off these scripts in just a couple keystrokes. Heck, I use RunFast to pop off just about anything I do in Windows at all, and I agonise over watching people scanning the screen to look for that menu item, the nested-menu item, that one icon somewhere in there, that file, bookmark or whatever. CLICK CLICK POP! I’m already there in three keystrokes. (I’m pimping RunFast here because it totally changed my Windows experience for the better). I can’t remember if it has an installer or not, but I can tell you that it doesn’t require installation. I just drag and drop it to new systems to get up and running, never needing to see the Start menu.
If you’re anything like me, when it comes to installing a new network device, you always toss the installation CD in the trash can knowing that it can only be a Bad Thing for anyone but the illiterate. I bought a Linksys WAP54g yesterday and was surprised to see that they no longer bother to supply a “quick start guide”, or any printed guide for that matter. I could really care less, except I need to know the default IP of the device.
After some fiddling I determined that the default IP was 192.168.1.245 and I was running in no time. I thought to document it here to save others the pain of connecting and performing ping scans to determine what IP to connect with.