OK , if it's DOS Command it's easier to use .bat files . It'll execute the command and closes the DOS window . Can you send me that command ?I've tried this but it gives error about DHCP . I think it's not applicable when getting online .

IPCONFIG/renew