I was always wondering why
hosts file is located at
%systemroot%/System32/drivers/etc/hosts in Windows. It really looks like a ported version of /etc/hosts file in unix-like systems, but I have no idea about reasons of that. Quick googling didn’t bring me anything about that.
In Windows, I would expect to see such a file in
%WinDir% folder and maybe with some extension like
So I wonder if anybody knows the history behind that?
Source: Windows Questions