saving HOSTS file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i want to save the Hosts file, but it makes me save in in txt. can i save it
without an extension? or is saving it to .txt alright?
 
In
keisuke said:
i want to save the Hosts file, but it makes me save in in txt.
can i
save it without an extension? or is saving it to .txt alright?


It's more than all right. It is a text file, and *must* be saved
as one, or it won't work.

However it must not be saved with an extension, or it won't work.
 
Are you using Notepad to edit /create the HOSTS file? Use double quotes
around the file name so that there will be no extension added. ( "hosts" )
 
yes, i am using notepad. i tried to use double quotes but it makes a sound
and it wont allow me to, since it's a read-only attribute.
 
Close the HOSTS file that you've opened with Notepad
Open %Systemroot%\system32\drivers\etc
Right-click HOSTS, and choose Properties
Uncheck the Read-only attribute.
 
it works thank you!! by the way, would unchecking the read-only attribute
cause any security concerns?
 
Most users set the read-only attribute to prevent the HOSTS from being
modified by malware, but it's not a great technique. However, if you want,
set the RO attribute back after editing.
 
Back
Top