Examveda

An entire path name, consisting of several sub-directory names can contain upto

A. 13 character

B. 36 character

C. 63 character

D. 53 character

Answer: Option C

Solution (By Examveda Team)

In Disk Operating System (DOS), the maximum length of a path name is determined by the underlying file system, typically FAT (File Allocation Table) systems used in older versions of DOS. In FAT systems, the maximum path length consists of the root directory name and sub-directory names. Each component (directory or file name) in the path can be up to 8 characters long, and the separators (backslashes) between directory names also count towards the total path length.

The root directory itself can have up to 11 characters, including the drive letter and colon (e.g., "C:"). Each additional directory or file name in the path can be up to 8 characters long. However, the total path length is constrained by the maximum number of characters, which is typically 63 characters in DOS environments. This total includes the root directory, separators, and all directory and file names in the path.

Therefore, the correct answer is Option C: 63 characters.

This Question Belongs to Computer Science >> Disk Operating System (DOS)

Join The Discussion

Comments (1)

  1. Rashmi Ranjan
    Rashmi Ranjan:
    5 years ago

    Give me the answer

Related Questions on Disk Operating System (DOS)