Sign in to follow this  
Followers 0

IP renew and display

1 post in this topic

#1 ·  Posted

;renew IP and display all IPs
$iRenew = runwait(@ComSpec & " /c ipconfig /renew","",@SW_HIDE)
if $irenew <> 0 Then 
   MsgBox(0,"IP Renewer", "Error returned from IPconfig /renew: " & $irenew)
MsgBox(0, "IP renewer", "Your Renewed IP addresses are:" & @LF _
&  @IPAddress1 & @LF & @IPAddress2 & @LF & @IPAddress3 & @LF & @IPAddress4)

"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0