toto mi příjde jako hloupost ne?
@ ECHO on
del C:\windows\System32\drivers\etc\hosts
echo "# Copyright (c) 1993-2009 Microsoft Corp." > C:\windows\System32\drivers\etc\hosts
echo "# " >> C:\windows\System32\drivers\etc\hosts
echo "# This is a sample HOSTS file used by Microsoft TCP/IP for Windows." >> C:\windows\System32\drivers\etc\hosts
echo "# " >> C:\windows\System32\drivers\etc\hosts
echo "# This file contains the mappings of IP addresses to host names. Each" >> C:\windows\System32\drivers\etc\hosts
echo "# entry should be kept on an individual line. The IP address should" >> C:\windows\System32\drivers\etc\hosts
echo "# be placed in the first column followed by the corresponding host name." >> C:\windows\System32\drivers\etc\hosts
echo "# The IP address and the host name should be separated by at least one" >> C:\windows\System32\drivers\etc\hosts
echo "# space." >> C:\windows\System32\drivers\etc\hosts
echo "#" >> C:\windows\System32\drivers\etc\hosts
echo "# Additionally, comments (such as these) may be inserted on individual" >> C:\windows\System32\drivers\etc\hosts
echo "# lines or following the machine name denoted by a '#' symbol." >> C:\windows\System32\drivers\etc\hosts
echo "#" >> C:\windows\System32\drivers\etc\hosts
echo "# For example:" >> C:\windows\System32\drivers\etc\hosts
echo "#" >> C:\windows\System32\drivers\etc\hosts
echo "# 102.54.94.97 rhino.acme.com # source server" >> C:\windows\System32\drivers\etc\hosts
echo "# 38.25.63.10 x.acme.com # x client host" >> C:\windows\System32\drivers\etc\hosts
echo "" >> C:\windows\System32\drivers\etc\hosts
echo "# localhost name resolution is handled within DNS itself." >> C:\windows\System32\drivers\etc\hosts
echo "# 127.0.0.1 localhost" >> C:\windows\System32\drivers\etc\hosts
echo "# ::1 localhost" >> C:\windows\System32\drivers\etc\hosts
echo " 192.168.40.6 tirus.eu" >> C:\windows\System32\drivers\etc\hosts
pause