home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR24 / MAKEBOOK.ZIP / MAKEBOOK.DOC < prev    next >
Text File  |  1993-07-27  |  3KB  |  75 lines

  1. MAKEBOOK.CMD
  2. Version 1.02
  3. By: Derek Berube
  4.  
  5. Package Contents
  6. ================
  7.  
  8. MAKEBOOK.CMD    the actual REXX program.
  9. MAKEBOOK.DOC    the document you now have in your hands (or your favorite
  10.                 editor).
  11. MAKEBOOK.ICO    the nifty designer icon for MakeBook
  12.  
  13. About MAKEBOOK
  14. ==============
  15.  
  16.         MAKEBOOK.CMD is a REXX utility designed to create icons for the OS/2
  17. on-line reference manuals located on your OS/2 system.  This utility will
  18. search all available drives (including network drives) for OS/2 .INF files and
  19. create icons for them with the appropriate titles.
  20.         MAKEBOOK.CMD uses the following logic process when it searches your
  21. hard disk for .INF files:
  22.  
  23. 1.)  MAKEBOOK.CMD starts with the root directory of drive C: and searches all
  24.      available subdirectories for files with a .INF extension.
  25. 2.)  When MAKEBOOK.CMD obtains a listing of all files on drive C: with an .INF
  26.      extension, it compares the filename with two different lists of .INF file
  27.      names.  
  28.      a.)  The first list MAKEBOOK.CMD uses is a listing known OS/2 .INF
  29.           files and their corresponding titles.  When MAKEBOOK.CMD finds a 
  30.           match in this list, the name of this book is automatically set to the
  31.           appropriate title for the book.
  32.      b.)  If an .INF file name is not found in the first list, MAKEBOOK.CMD
  33.           checks with a second list.  The second list contains the names of
  34.           files that are not OS/2 on-line books but do end with an .INF 
  35.           extension.  MAKEBOOK.CMD will display a message that the file found
  36.           is not an OS/2 on-line book and an icon will not be created.
  37.      c.)  If an .INF file is not found in either of the above lists, an icon 
  38.           will be created for the book using the file name for a title.
  39. 3.)  All icons will be created in a folder created on your OS/2 desktop titled 
  40.      "MAKEBOOK.CMD - Find Results."
  41.  
  42.         MAKEBOOK.CMD is a REXX utility which means that you can modify it to
  43. include descriptive titles for .INF files not listed in either of the two 
  44. lists.  The logic used by MAKEBOOK.CMD is a simple IF...THEN statement.  The 
  45. following is an example from the list of known .INF files:
  46.  
  47. when BookName="REXX.INF" then BookName="REXX Information"
  48.  
  49. The following is an example from the list of files with a .INF extension which
  50. are not OS/2 .INF files:
  51.  
  52. when BookName="OEMSETUP.INF" then Say "OEMSETUP.INF"NADA
  53.  
  54. NOTE: NADA is a variable used to store the generic text string "is not an OS/2
  55.       on-line book"  This is used in order to keep the size of MAKEBOOK.CMD
  56.       down to a minimium.
  57.  
  58. The BookName variable is a global variable which initially holds the file name 
  59. of the .INF file in question.  The value of BookName will change depending on
  60. whether the file name is found in either of the lists.
  61.  
  62. History
  63. =======
  64. 03.16.93 v1.00
  65.         *  Initial Release
  66. 07.07.93 v1.01
  67.         *  Fixed a problem with parameters field of the object that is created.
  68.            The drive on which the .INF file resides is not included in the
  69.            parameters section; therefore, when you go to look at the
  70.            book, you get an error that "Cannot open input files."
  71. 07.27.93 v1.02
  72.         *  Fixed a problem with the Express Setup query in that it would not
  73.            recognize the capital letter Y or N.  The Express Setup option will
  74.            no longer echo your key to the screen.
  75.