Hello MDL! Someone can point me to the right/easier way to edit the hosts file in Windows 10? Right now, I have to copy the file to another location, edit it and save it over the previous one using admin privileges Thanks in advance!
Open notepad as admin, go to "file" > "open" > select *.* instead of .txt and go to c:\windows\system32\drivers\etc and you can open and edit the hosts file.
go to directory click on file then open cmd with admin type notepad hosts Or add ntfs premission to everyone and edit it normally
That's what he did and doesn't want to do anymore. He just has to open notepad "run as admin" than he will be able to edit the hosts file and save it after editting
Use the latest version of notepad++ it just asks for admin rights, if needed, to save a file. Simple as that.
Not really. I use notepad++ for editing my opensim configuration files as well... Windows Notepad, for some reason, removes the line feeds from those files for some reason leaving a wall of text to try to decipher.
If one needs it for more stuff or things windows itself doesn't provide for, it's ok but the OP used notepad without admin rights (according to his/hers workaround) and than he/she only has to elevate notepad to admin to accomplish what he/she wanted to do in the first place
Another useless message. Do you realize that notepad is practically the same program that was bundled with win 3.11? Do you realize that in 20 years, "maybe" someone made something better... Something WAY better in that case, given such great program on one side and no competition on the other.
Yes I read the message, looks like you didn't I replied with the most practical way to handle it. Computers supposedly made to simplify the human's life and having to deal to the idiotic way the Windows GUI manages the permissions isn't exactly something aimed to accomplish that task.
Title: how to properly edit....hosts file. The workaround he/she used is because notepas without elevated rights can't save it. Simple answer: elevate notepad to admin and he/she can edit and save the hosts file without first making a copy in another directory. The OP doesn't need any third party software for the task he wants to do. And last, who are you to give any judgement on my comment/answer?
No offence: if you reply to some special Member/Person, please name that person, in this case @T-S! You quoted the post from member spkleader and your comment looks like you 'talked' to spkleader instead of T-S! It should looks like as in the quoted text above! Normally I wouldn't tell anything, just that's one of those members who like to bash others and had done that to me several times too!
The trolling cooperation is always a nice thing. For the record I never "bashed" what you wrote I care about wrong or good suggestions, and happened a couple of times that you wrote the wrong one in the same thread. That's all. I care about wrong info unpleasant users like you are an unavoidable annoyance on any forum.
Why do people lure them selfs into making statements on behalve of other people in this way MDL is about sharing information on computer stuff not to bash each other head in because of different thoughts !! I see it a lot more lately here and I don't like to see that kind of behaviour at all On topic just copy the host file to another place on your hard drive will do the trick BTW