Hosts bestand gereset , kan niet opslaan?

Status
Niet open voor verdere reacties.

gamefreak23

Gebruiker
Lid geworden
5 jan 2013
Berichten
543
Goedemorgen.
Door een virus was mijn Hosts bestand veranderd.
Ik had dit door gekregen en heb dus de Hosts bestand gereset.
Code:
Code:
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handle within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

Nu als ik wil opslaan, vraagt hij om op te slaan in .txt , of op Hosts over te schrijven.
Wat moet ik doen?
Error: hosts.jpg
 
Sla hem op je bureaublad op als hosts.txt, hernoem hem dan naar hosts, dus geen extensie.
Nu kun je hem kopiëren naar de juiste map en het bestaande bestand overschrijven.
 
Sla hem op op het bureablad. Zorg ervoor dat je hem opslaat zonder extensie dus niet als txt maar ervoor zorgt als file (weet je niet hoe het moet wil ik hier nog wel uitleg over geven)
Vervolgens sleep je hem in de etc. map nu druk op kopieren en vervangen (dit werkt wel)
 
Oke , ik heb hem opgeslagen en schijnt te werken.
Maar nu vraag ik me af , is dat wel de goede code?
 
Oke , ik heb hem opgeslagen en schijnt te werken.
Maar nu vraag ik me af , is dat wel de goede code?

Er staat voor iedere regel een # teken. Dat betekend dat het een commentaar regel is.
Dat bestand heeft dus hetzelfde effect als een leeg bestand en dat is op zich prima.
 
Nic
Code:
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handle within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

Bedankt edmoor, dan is dat ook weer geroggeld :)
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan