Explain the different rules for naming a file in dos.
Answers
Answered by
2
Answer:
Explanation:
All files have a name, and almost all files use an extension attached to the name with a period (no spaces in between) that serves as a file type. The name can be from one to eight characters in length, and the extension can be from one to three. All executable programs in DOS use a . COM or
Answered by
1
Important rules for naming the file in DOS in a correct way are as follows:
Explanation:
Rules for naming a file in DOS are:
- Name of every file in DOS operating system should be unique within the directory , where it is stored. This makes a unique path name in file system and easy to access this file ahead
- Maximum length of file name should be in 255 Characters long. File name can contain Numbers, Letters, and underscores.
- The Operating system is a case Sensitive , that shows a different meaning of uppercase and lowercase letter in the file names. Example RULES, rULes, rules These three file name are distinct file name , even though they are present in same directory.
- Avoid the usage of certain characters while file naming :
Characters to avoid using are / \ " ' * ; - ? [ ] ( ) ! ~ $ { } < > # @ | &
Space tab means a new line copy in MS-DOS
5. File name gets hidden if the name of the file starts with dot(.)
Similar questions