Nothing Special   »   [go: up one dir, main page]

Blockhosts - Tecno Windroide - Bat

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

SET NEWLINE=^& echo.

FIND /C /I "www.abc.com" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 www.abc.com>>
%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "www.avast.com" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 www.avast.com>>
%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "75.126.120.203" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 75.126.120.203>>
%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "www.ns2.avast.com" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1
www.ns2.avast.com>>%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "www.pns.avast.com" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1
www.pns.avast.com>>%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "46.4.58.71" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 46.4.58.71>>
%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "46.4.62.150" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 46.4.62.150>>
%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "46.4.28.80" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 46.4.28.80>>
%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "www.avast.com" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 www.avast.com>>
%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "75.126.120.203" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 75.126.120.203>>
%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "www.ns2.avast.com" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1
www.ns2.avast.com>>%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "www.pns.avast.com" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1
www.pns.avast.com>>%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "46.4.58.71" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 46.4.58.71>>
%WINDIR%\system32\drivers\etc\hosts

FIND /C /I "46.4.62.150" %WINDIR%\system32\drivers\etc\hosts


IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 46.4.62.150>>
%WINDIR%\system32\drivers\etc\hosts
FIND /C /I "46.4.28.80" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 46.4.28.80>>
%WINDIR%\system32\drivers\etc\hosts

You might also like