Rules for Naming Files and Directories

There are certain rules which must be followed before naming a file or directory.

1.The combination of the following characters can be used for writing names of directories and files:
 Alphabets A to Z (both capital and small)

 Digits 0 to 9

 Special characters like spaces ' ! A 0 $ & # @ % '-{}[]+-=-- .

2. Some special characters which cannot be used are? / \ : 1< > II *.

3. There are some words specifically reserved for special files and are not allowed if used singly. They are CON, COM1, COM2, COM3. COM4, AVX, LPT1, LPT2, LPT3, PRN, NUL. These words can be used in combination such as ASCon, deltacom1, Panamavx. etc.

4. Files with extension names like .EXE, .COM and .BAT are called executable files and are given a special status by DOS.

5. Dot (.) is allowed only once, i.e., you cannot have names
like SMARlX.DOC

Name:  Rules for Naming Files and Directories.jpg
Views: 534
Size:  16.6 KB