Computer Science, asked by rivika2373, 10 months ago

Explain the different rules for naming a file in dos.

Answers

Answered by kowshiktl87
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 rk9506863
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:

  1. 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
  2. Maximum length of file name should be in 255 Characters long. File name can contain Numbers, Letters, and underscores.
  3. 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.
  4. Avoid the usage of certain characters while file naming :

Characters to avoid using are / \ " ' * ; - ? [ ] ( ) ! ~ $ { } &lt > # @ | &

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