目录与子目录

Author: 蒋峻岭 Date: 1997-01-01

  A directory(DIR)is an area inside a partition that is used to record in formation (name,size,time and date,etc.)about a file.In the FAT file system there are two kinds of directories,the root directory and subdirectories.
  目录是分区内用以记录有关文件信息(诸如文件名、长度、及日期时间等等)的区域。在FAT文件系统中有两类目录,即根目录及子目录。
  There is only one root directory.The root directory is created when the partition is formatted and can not be removed.The root directory's size is fixed.On a hard drive the root directory can contain 512 files or subdirectories.
  根目录只有一个。它是在对分区进行高级格式化时创建的,不可删除。根目录的大小是固定不变的。硬盘上的根目录可包含512个文件或子目录。
  There can be any number of sub directories. Subdirectories can be created and removed at any time via an operating system command(MD/RD in DOS). Clusters are allocated for subdirectories just like files.Subdirectories can grow as files and other subdirectories are added to them.
  子目录可以有任意个。通过操作系统命令(DOS中为MD/RD),可在任何时候建立子目录和删除子目录。为子目录分配簇与为文件分配簇相类似.子目录可随文件及其他子目录加于其中而得以扩展。