Skip to content

Commit

Permalink
Update undo.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvoid authored Oct 26, 2017
1 parent 8cf80ae commit f2dd100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions undo.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ exit
:start
for /F "skip=3 tokens=1,2,3* delims= " %%G in ('netsh interface show interface') DO (
IF "%%H"=="Connected" netsh interface ip set address "%%J" dhcp
) >NUL
) >nul

for /F "skip=3 tokens=1,2,3* delims= " %%G in ('netsh interface show interface') DO (
IF "%%H"=="Connected" netsh interface ip set dns "%%J" dhcp
) >NUL
) >nul

0 comments on commit f2dd100

Please sign in to comment.