![]() Supposedly, Windows doesn't actually support putting the hosts file in other locations, but you might want to check. There is a registry key specifying the location of the hosts file. Lastly, terminate the file with a blank line. To be on the safe side, make sure all lines in your hosts file either use tabs or spaces, not both. In theory hosts supports multiple spaces separating the two columns, but it's another thing to try if nothing else works. If you copied and pasted hosts entries from somewhere, you may end up with multiple spaces. Notepad++ will also show special characters (View -> Show Symbol) so you can easily inspect the number and kind of whitespace characters. The individual bytes may be viewed in Notepad++ with the hex editor plugin. Sample entries, using Unicode control pictures to indicate control characters. then finally a carriage return followed by a line feed, (escape codes \r\n, ASCII CRLF, hex 0x0d 0x0a). The format for each line is IP address, then a horizontal tab (escape code \t, ASCII HT, hex 0x09) or a single space (hex 0x20), then the host name, ie.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |