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 do I flush my IP address?
What is the use of "ipconfig all" in cmd? I am not a windows user,...
How to check IP address using ipconfig?
On Windows machine, how can I check which IP address my device curr...
What is the command to check network connections?
Can you please explain me how to use ipconfig for troubleshooting?...