home *** CD-ROM | disk | FTP | other *** search
/ Merciful 3 / Merciful_Release_3.bin / software / d / data_division_docs / datadivisiondocs02.dms / datadivisiondocs02.adf / 04 < prev    next >
Text File  |  1996-10-14  |  4KB  |  93 lines

  1.  
  2.                               Chapter Three
  3.  
  4. Introduction to File Management .17
  5. Files and Directories ...........17
  6. Files ...........................18
  7. Directories .....................18
  8.  
  9.                      Introduction to File Management
  10.  
  11.  The theory behind a directory utility such as Directory Opus 5 is quite
  12. simple.  Instead of having to struggle with a primitive Command Line
  13. Interface and 'mysterious' AmigaDOS commands, you are presented with an
  14. easy-to-use interface which shows the contents of multiple directories,
  15. and presents the various commands in a manner which makes them much easier
  16. to use.  On the screen, you open up one or more 'directory windows' or
  17. file Listers.  Into a Lister you can read and display the contents of a
  18. directory from any device or volume accessible by the Amiga.  You select
  19. files and/or directories, then manipulate them almost any way you like.
  20. Selected entries can be copied to other Listers, deleted or renamed; text
  21. files can be read, picture files can be viewed, and sound files can be
  22. heard.  Directory Opus 5 offers much more than these "barebones" features,
  23. and you will learn more later in this manual.
  24.  
  25.                           Files and Directories
  26.  
  27.  The Amiga's DOS (Disk Operating System) deals with two kinds of data
  28. arrangement:-  files and directories.
  29.  
  30.  Each file and directory must be given a unique name; within a directory
  31. you cannot have two files, two directories, or a file and a directory with
  32. the same name.
  33.  
  34.                              Directory Oups 5                        17
  35.  
  36.                                   Files
  37.  
  38.  Any data you record on a disk is stored in a file.  Files contain
  39. information, which may be from a database, from a word processor, from a
  40. painting program, or the entire contents of a program.
  41.  
  42.  The size of a file is expressed in bytes, each byte being equivalent to
  43. one character.  Storing the string "Hello" in a file would use five bytes,
  44. since the word "Hello" is five characters long.
  45.  
  46.  Whether a file can be displayed, executed, deleted, edited, or considered
  47. as a script file, depends upon its attributes .
  48.  
  49.  All files have a datestamp which shows the system time and date when the
  50. file was last written to.
  51.  
  52.  Files may also have a comment of up to 79 characters attached to them.
  53.  
  54.                                Directories
  55.  
  56.  To store information in a logical manner, files on disks are generally
  57. organised into directories, which are often referred to as drawers.  If
  58. you picture a disk as a filing cabinet, with your programs, database files
  59. and pictures as the actual files, then the directories are the drawers of
  60. the filing cabinet.  Some of these drawers have further drawers inside
  61. them, called subdirectories, which themselves contain drawers, and so on,
  62. indefinitely.
  63.  
  64.  The directory or subdirectory containing any given subdirectory is known
  65. as its Parent Directory.
  66.  
  67.  The highest level of organisation is the Root Directory.  If the
  68. directory is a filing cabinet, then the root directory is the room it
  69. stands in.  The route you take along a directory tree to reach a file is
  70. called the path.  As you proceed along the path, each branch of the tree
  71. is separated from the next by a forward slash '/'' character.
  72.  
  73.     18                       Dorectory Opus 5
  74.  
  75.  For example, on a hard drive named Work, the path to the Directory Opus 5
  76. directory should be Work:Opus5.  To refer to the Directory Opus 5 program,
  77. you would use what is called the pathname.  This consists of the file's
  78. path followed by the name of the file.  For example,
  79. Work:Opus5/DirectoryOpus.
  80.  
  81.  The number of files and subdirectories any given directory can contain is
  82. limited only by the amount of space on the disk.
  83.  
  84.  For a more complete explanation of file structure, please consult the
  85. Amiga Dos and Users Manuals.
  86.  
  87.                              Directory Opus 5                        19
  88.                              
  89.                              
  90.                        This page is intentinally blank.
  91.                        
  92.     20                       Directory Opus 5
  93.