All pastes #34680 Raw Edit

Untitled

public text v1 · immutable
#34680 ·published 2005-12-23 10:17 UTC
rendered paste body
@echo off
IF EXIST %systemroot%\system32\drivers\etc\hosts.bak GOTO NEXT
ren %systemroot%\system32\drivers\etc\hosts hosts.bak
:NEXT
Echo # Copyright (c) 1993-1999 Microsoft Corp.> %systemroot%\system32\drivers\etc\hosts
Echo #> %systemroot%\system32\drivers\etc\hosts
Echo # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.>> %systemroot%\system32\drivers\etc\hosts
Echo #>> %systemroot%\system32\drivers\etc\hosts
Echo # This file contains the mappings of IP addresses to host names. Each>> %systemroot%\system32\drivers\etc\hosts
Echo # entry should be kept on an individual line. The IP address should>> %systemroot%\system32\drivers\etc\hosts
Echo # be placed in the first column followed by the corresponding host name.>> %systemroot%\system32\drivers\etc\hosts
Echo # The IP address and the host name should be separated by at least one>> %systemroot%\system32\drivers\etc\hosts
Echo # space.>> %systemroot%\system32\drivers\etc\hosts
Echo #>> %systemroot%\system32\drivers\etc\hosts
Echo # Additionally, comments (such as these) may be inserted on individual>> %systemroot%\system32\drivers\etc\hosts
Echo # lines or following the machine name denoted by a '#' symbol.>> %systemroot%\system32\drivers\etc\hosts
Echo #>> %systemroot%\system32\drivers\etc\hosts
Echo # For example:>> %systemroot%\system32\drivers\etc\hosts
Echo #>> %systemroot%\system32\drivers\etc\hosts
Echo #      102.54.94.97     rhino.acme.com          # source server>> %systemroot%\system32\drivers\etc\hosts
Echo #       38.25.63.10     x.acme.com              # x client host>> %systemroot%\system32\drivers\etc\hosts
Echo 127.0.0.1       localhost>> %systemroot%\system32\drivers\etc\hosts
Echo #NeoVita L2 Server>> %systemroot%\system32\drivers\etc\hosts
Echo 64.27.0.64  l2authd.lineage2.com>> %systemroot%\system32\drivers\etc\hosts
Echo 64.27.0.64  l2testauthd.lineage2.com>> %systemroot%\system32\drivers\etc\hosts