This was a challenging script to write due to the fact that I discovered that Windows XP considers several types of devices, besides the actual Ethernet NIC as network adapters.
The IP Toggle script contains logic to sort through all the devices considered as network adapters and pick out only those that are assigned IP addresses.
If your computer has several network adapters to which Windows XP is configured to assign IP addresses, then you'll see a prompt for each adapter.
If you see more than one prompt, please let me know the names of the devices that Windows XP considers network adapters on your system.
Keep Up with TechRepublic