*************************************************************************************************************
SET DestFile=%systemroot%\System32\drivers\etc\hosts
SET Flag=#Anti Baidu Ad
Rogeremail@21cn.com
findstr /c:"%Flag%" %DestFile% > nul
if %errorlevel% equ 0 (@echo Destination Content already exist!) && goto End;
@echo Write %DestFile% ...
echo %Flag% >> %DestFile%
echo 127.0.0.1 c.baidu.com >> %DestFile%
echo 127.0.0.1 cpro.baidu.com >> %DestFile%
echo 127.0.0.1 cpro.baidustatic.com >> %DestFile%
echo 127.0.0.1 hm.baidu.com >> %DestFile%
echo 127.0.0.1 cbjs.baidu.com >> %DestFile%
echo 127.0.0.1 eiv.baidu.com >> %DestFile%
:End
@echo The End.