Try this in your .bat file if you want to release and renew all adapters.
Try this if you want only a singular adapter (find the number manually and insert where the # sign is):
ipconfig/release adapter #
ipconfig/renew adapter #
Running this opens a dos box in 98, it does the job, but unsure how to add a command to close the dos box after its been run.
There are 2 theories to arguing with a woman...neither works. Will Rodgers