Registry Tip : 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

Hive: HKEY_LOCAL_MACHINE
Key: SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Name: DataBasePath
Type: REG_EXPAND_SZ

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

Featured Links