You can emulate it with a basic login script -- useful if you can be sure that login scripts will fire. It would require the copying of the original HOSTS file to a new name (HOSTS.ORG). Then, at login time, run a command like this:
COPY C:\WINDOWS\SYSTEM32\DRIVER
(Could probably also use UNC paths, of course.)
Unfortunately, this means that if you do need to change the local HOSTS file, you must always remember to modify the HOSTS.ORG file (or the changes will be lost on the next reboot). Also, if you need it in order to find the login script, things won't quite work so well, either.
Main Topics
Browse All Topics





by: m1tk4Posted on 2007-08-24 at 05:43:57ID: 19761569
No, the hosts file does not support inclusions.