
The extension is optional and can be up to three characters long. You can use the extension to further identify a file or to describe what type of file it is, such as a text file or program file. When you use an extension, separate it from the filename with a period, like this:
DATA.TXT
Do not use uppercase and lowercase letters to distinguish between files.
Some application programs automatically add extensions to the files you create. These programs use the extension to determine whether a data file is compatible. Avoid using the same extensions that your application programs use.
AUX | COM4 | LPT3 |
CLOCK$ | CON | LST |
COM1 | LPT1 | NUL |
COM2 | LPT2 | PRN |
COM3 |
|
|
The extension .BAT denotes a type of executable file called a batch file. You can use batch files to automate sequences of