Directory Structure In The 12 Hive

The 12 hive is where everything in SharePoint happens and is where all the binaries, configuration, web pages, web controls, help files and other resources reside. As a developer writing your own features for SharePoint, it is vital that you learn where things go and where you should be targeting your resources.
This article however is aimed at an administrator and developer with a basic overview of what you can find where.

Below is a list of core folders in the 12 hive.
\ADMISAPI : The directory contain the web service used used by the SharePoint Central Administration and appears as a virtual directory.
\BIN : The directory contains all the core binary files, utilities that are used by Windows SharePoint Services. Your command line tools such as STSADM.EXE reside in this folder.
\BIN\LCIDD : A directory will be created for each language, which contains language specific binary files.
\CONFIG : This directory contains a set of configuration, binary and resource files used by SharePoint. Some files are the default values which will be copied to web site instances.
\DATA : SharePoint uses this directory structure for the indexing services where content will be indexed.
\HCCab\LCID : This directory has a set of cab files containing manifest and content information used by the SharePoint help sytem.
\Help : The folder contains a compiled html help file (.chm) used by the configuration wizard.
\ISAPI : This directory contains all the standard Web Services for SharePoint and some additional DLL's, resources and configuration files that the web services use. Every web application provisioned in SharePoint will have a virtual directory "_vti/_bin" that points to this directory, thus giving each web application it's own set of web services.
\ISAPI\HELP : This directory contains all the help files used by SharePoint. The folder also contains LCID sub directories for each language installed thus globalising the help system.
\LOGS : This is the directory that you will be visiting frequently while doing development and administration as it contains the log files of what SharePoint did and what errors occurred.
\Resources : This directory contains the core.resx file used for creating language packs for SharePoint. If you are going to be localising your SharePoint sites with different languages and cultures, this is the folder to do it in.
\TEMPLATE : This directory structure contains the core web site functionality in SharePoint, that is the features, templates, configurations, resources of a web site. What is important to note about this directory structure is that the Virtual Path Provider hides and masks this directory structure, thus it appears under each web site, list in a completely different structure. As a SharePoint developer you should completely familiarise yourself with this folder structure.