Location of /etc

by Wayne Maples [Published on 20 April 2004 / Last Updated on 20 April 2004]

The Windows Sockets interface uses TCP/IP database files, HOSTS, LMHOSTS, networks, and protocols which are the standard Internet database files. Most operating systems maintain these database files in an \etc directory off the root directory, but NT buries them deep in its system directory structure in the %SystemRoot%\winnt\System32\Drivers\etc directory. To change this default location, apply the follow NT registry hack:

Key: SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Name: DataBasePath

You can change the default path to folder of your choice. I suggest changing this setting to c:\etc to ensure consistency across operating systems (by default, both NetWare and UNIX point this path to the root directory).

See Also

See Also

Featured Links