Ways to designate files. A traditional DOS filename is made up of three parts—a name of up to eight characters, a period, and an extension of up to three characters. The name can include any number, character, or the following symbols: _()~'!%$. For example: MYFILE.DOC. Spaces cannot be used in MS-DOS filenames. Long filenames used in newer operating systems can be much longer and include spaces.