Here is a list of the extensions you will find often under windows. Note that this is not an exhaustive list. I have tried to concentrate in extensions that are related to programming.
Note too that all these are conventions. If you call your source files "source.drv", the source will compile anyway.
Extension |
Type |
Description |
BAT |
Source code |
Batch command file. |
BMP |
Resource |
Bitmap file. |
C |
Source code |
C definitions. |
CAB |
Binary |
Microsoft cabinet files: several files in one. |
CHM |
Help file |
Compiled HTML. Used by Microsoft help system. |
CPP |
Source code |
C++ source file |
CSV |
Data base |
Comma Separated Values file |
CUR |
Resource |
File containing a cursor image. |
DB |
Data base |
Paradox files |
DBF |
Data base |
dBase f 838h75i iles |
DBG |
Symbol file |
Contains information about the symbols contained in system DLLs. |
DEF |
Resource |
Definitions file containing the list of exported functions in a DLL. Used by the linker. |
DLG |
Resource |
ASCII description of dialog resources. Generated by the resource editor. |
DLL |
Executable |
Compiled executable code that is loaded when needed into a running process. |
DOC |
Documents |
Microsoft Word document. |
DRV |
Driver |
Compiled device driver. |
EXE |
Executable |
Executable containing compiled code, resources, etc. You can inspect its contents using the pedump utility.. |
EXP |
Exports |
ASCII list of exported functions from a DLL. Used by the "buildlib" utility to build import libraries. This is specific to lcc-win32. |
FNT |
Font typeface |
File containing a single font description. |
FON |
Font lib |
File containing one or more fonts. |
H |
Source code |
Header file containing C definitions. |
HLP |
Help file |
Compiled help file. Generated with the help compiler hcw. You can inspect it with pedump, and see the help with winhlp32.exe. |
HPJ |
Resource |
Microsoft help compiler project file |
IDL |
Source code |
Interface Description Language file. Used by Microsoft tools |
ILK |
Temp file |
Produced by Microsoft Linker when incremental linking is selected. |
INC |
Source code |
Include files for the assembler or other Microsoft tools |
INI |
Initialization file |
Contains initialization data in text form. |
INF |
Source code |
Information file for the setup utility. |
ICO |
Resource |
File containing an icon image. |
LIB |
Library file |
Contains several object files. Used by the linker. |
MAK |
Source code |
Makefile extension. |
MDB |
Data base |
Microsoft Access files |
OBJ |
Compiled code |
Result of the compilation of a single C file. Contains code and (possibly) debug information. |
OCX |
Compiled code |
Visual basic DLL. |
ODL |
Source code |
Object Description Language file. Used by Microsoft tools |
PRJ |
Project |
Text file containing the project description. Generated by wedit. |
RC |
Source code |
ASCII resource description. |
RES |
Resource |
Compiled (binary) resource file. You can edit it using weditres. |
RTF |
Rich text |
Rich text file. Can be used to compile a help file using hcw, the help compiler. |
TLB |
Resource |
COM type library. You can see its contents with pedump. |
TPL |
Source code |
Templates used by lcc-win32's wizard. |
VBS |
Source code |
Visual Basic script. |
WAV |
Resource |
Sound files |
WED |
Resource |
Binary project description used by the resource editor. Lcc-win32 specific. |
XLS |
Data base |
Microsoft Excel files |
|