The way I do it.
Navigate to C:\WINDOWS\system32\drivers\etc\hosts and open the file with Notepad, (Right click, select Notepad and make sure that the option to "Always use this application to open this type of file" is NOT selected).
I make the change, then goto File > Save As, ensure the "Save as file type:" is All files and not *.txt , then click Save. Accept the warning that this will overwrite the existing file.
Does that not work for you?
please help me..
I want to include a new IP data to system32\hosts but I can't to save the changing.
The error is ...
"Cannot create the C:\WINDOWS\system32\drivers\etc\hosts file. Make sure that the path and filename are correct"