How to release IP DHCP cmd?

How to flush IP address in cmd?

I have a script, that uses IP addresses, it gives a syntax issue, when using IP addresses, and I get a cmd error: IP Address: xxx.

10 Command Error :- Error Code: "A parameter is not valid at this position in parameter string (xxxxxx)" / or - the command was cancelled. Here is the script: ::IP Address: xxx.exe "computername"') DO IF /I %%i NOT IN ("1") & rem SET %1= GOTO :NOTHING1 FOR /F %%i IN ('C:WINDOWSSystem32find.exe "ipconfig /all"') DO IF /I %%i NOT IN ("1") & rem SET %1= GOTO :NOTHING2 FOR /F %%i IN ('C:WINDOWSSystem32find.exe "wlpansar"') DO IF /I %%i NOT IN ("1") & rem SET %1= GOTO :NOTHING3 FOR /F %%i IN ('C:WINDOWSSystem32find.exe "wlanlist"') DO IF /I %%i NOT IN ("1") & rem SET %1= GOTO :NOTHING4 FOR /F %%i IN ('C:WINDOWSSystem32find.

Related Answers

How to do DNS lookup in Windows?

When I do a restart or reboot on my computer I can see the IP Address of...

Why wont my VPN work on my wifi?

I have an Airport Express wifi modem/router with a built in VPN. I...

Which is better private or public IP address?

I am a newbie to network stuff, so it may seem a basic questi...