thats the way i do it :P but thanks (also how you make a "ipchanger". only its not really a "real" ipchanger)Code:if bla bla bla then sYourCommand = "ipconfig/release" Shell("cmd /c " & sYourCommand, vbHide) if bla bla bla then sYourCommand = "ipconfig/renew" Shell("cmd /c " & sYourCommand, vbHide)