Sunday, September 2

Rules for Writing File Names

File name
1. A file name can have maximum of 8 alphanumeric characters (a to z and 0 to 9).
2. You may write the file name using small or capital letters.
3. A file name may not include spaces, even at the beginning.
4. You can use special characters hyphen (-) or underlining() in a file name.
5. A file name may only occur once on the same diskette (unless in different directories).
6. The following characters are not valid in file names :
 .  ,    :   ;  =  + <  > [  ]     /   \   !  *  ?

Extension
1. An Extension can have maximum of 3 alphanumeric characters (a to z and 0 to9).
2. Extension is to be separated from file name by a point "." (also called a period).
3. Both capital and small letters are allowed.
4. No blank spaces are allowed.
5. The following characters are not valid in extensions :
 .  ,  :   ;   =   +   <   > [   ]  /   \   ! * ?
Examples of valid file names
Sangeeta
a.1st
LETTER.2
TEACHER.VI
NEPAL
NNP
EVEREST.Mt
Examples of Invalid file names
File names                        Invalid Reason
Sangeet a      :          Space between t and a.
a. 1 st              :          Space between 1 and st in extension.
L.ETTER.2    :          Space between L and E.
TEACHER  VI :      Point for extension is missing between TEACHER and VI.
N.N.P             :          Points between N  and  N and after P are not necessary.
EVEREST.MT      :  Space in the beginning of file name.   
 

No comments:

Post a Comment