Windows XP - Hosts File - Simple Batch File
Download : Batch File
or create your own using notepad
Code:
@echo off
echo.
echo.
echo ---------------------------------------------------------------
echo.
echo Patching hosts - XP
echo.
echo - Vikram 16-Sep-2009
echo.
echo ---------------------------------------------------------------
Rem Patch Hosts
rem Vikram 16-Sep-2009
if not exist %systemroot%\system32\drivers\etc\hosts goto NoFile
attrib -r -s -h %systemroot%\system32\drivers\etc\hosts
echo 74.208.105.171 gs.apple.com #ECID SHSH >> %systemroot%\system32\drivers\etc\hosts
goto Finish
:NoFile
echo 74.208.105.171 gs.apple.com #ECID SHSH > %systemroot%\system32\drivers\etc\hosts
:Finish
echo.
echo.
echo.
Administrative Previliges Required.
Tested on Windows XP