Question
Is there any way to use multiple hosts files on windows(7) ?
Preferably without installing any external programs.
Example
Say my hosts
file has in it
10.2.3.4 bob.com
10.2.3.5 jim.com
And i want to also you another file say hosts2.txt
containing
10.2.3.4 mark.com
Is there any way for windows to read both files to use ?
The reason i want to do this and not just add more to the normal host file is that i am creating a script which relies on certain IPs going to certain domains. This will be used by multiple users, so i was hoping that i can just create one file in a shared directory that is read as well as the users own host file. This means if the addresses change in the future only one file would need to be changed instead of every users host file as well as allows transparent changes without the users knowledge.
Ideas
Maybe there is a registry or something that contains the name of the hosts file ?
Any more information needed let me know and i will add it.