home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / CLNINI.ZIP / READ.ME < prev   
Text File  |  1992-11-10  |  4KB  |  98 lines

  1.            CLEANINI.CMD - Version 1.1 - November 10, 1992
  2.  
  3.                Copyright (C) 1992 by James D. Stuyck
  4.  
  5.            A compression program for OS/2 2.0 ".INI" files
  6.  
  7.  
  8.    Tested and "seems to work just fine" with the ServicePak (XR06055)
  9.    installed.  However, though the risk seems to be negligible, the
  10.    author specifically disclaims any responsibility for bad effects
  11.    arising from the use of this program.
  12.  
  13.    PLEASE!  -- Test this in your own environment before doing things
  14.    like arbitrarily discarding working OS2.INI and OS2SYS.INI files.
  15.  
  16. The OS/2 2.0 "OS2.INI" and "OS2SYS.INI" files grow and grow as time passes.
  17. There is no utility provided with OS/2 2.0 to compress these files nor are
  18. they automatically compressed like the "SWAPPER.DAT" file is (with the
  19. advent of the ServicePak).
  20.  
  21. Other programs -- the Enhanced Editor, Solitaire-Klondike, PM Diary and
  22. OS/2 Chess -- use the same INI-structure and have the same problems (though
  23. not nearly as large).
  24.  
  25. This program, written and distributed in source form, uses a standard REXX
  26. function to extract values saved in an INI file and create a new file.  The
  27. effect is to "compress" that file (and create a backup copy).
  28.  
  29. The OS2.INI and OS2SYS.INI files cannot be replaced unless you boot from
  30. OS/2 installation diskettes, another OS/2 partition (using the Boot Manager)
  31. or from DOS (if your fixed disk partition is formatted FAT).  The other INI
  32. files (EPM.INI, KLONDIKE.INI, PMDIARY.INI, etc.) usually are not "protected"
  33. (are not in use when you wish to replace them) and can be replaced using
  34. the COPY command.
  35.  
  36.  
  37. Usage:    cleanini [OldFileName [NewFileName]]
  38.  
  39. By default, with no optional parameters specified, the two critical OS/2 2.0
  40. ".INI" files are located (they are in the "\OS2" directory of your boot disk),
  41. cleaned (compressed), copied to the "current directory" and renamed:
  42.  
  43.    OS2.INI becomes OS2.NEW and OS2SYS.INI becomes OS2SYS.NEW.
  44.  
  45. Often, you will find that the cleaned (NEW) files are somewhat smaller than the
  46. old files. You could then boot from the OS/2 installation diskettes and copy
  47. the NEW files to the \OS2 directory, renaming them with the INI extension.
  48.  
  49. The old (input) file is NEVER modified.
  50.  
  51. Other applications that use OS/2-style INI files can have their INI files
  52. cleaned. If an OldFileName is specified, it must be fully qualified. Examples:
  53.  
  54.    C:\OS2\EPM.INI or C:\OS2\APPS\KLONDIKE.INI or D:\OS2\APPS\OS2CHESS.INI
  55.  
  56. NewFileName is optional. If it is not specified, then a new file is placed in
  57. the same directory with the same file name as the old file, with the file
  58. extension ".NEW." Example:
  59.  
  60.    D:\OS2\APPS\OS2CHESS.INI is cleaned into D:\OS2\APPS\OS2CHESS.NEW
  61.  
  62.  
  63. It takes time, unfortunately, to copy BIG INIs.  To make time pass more
  64. quickly, and give you some idea what's in the INI, the program tells you
  65. what is being copied.
  66.  
  67.  
  68. To install CLEANINI.CMD, simply copy it to a directory in your "PATH."
  69.  
  70.  
  71. There are certain risks one takes when he distributes software in source
  72. form (in this case, a REXX command file).  The author certainly loses much 
  73. of the protection a "binary" or compiled program offers because the 
  74. "intellectual part" of the software is open for inspection.  I charge a 
  75. modest fee for this modest program, hoping that those who find it useful
  76. will not object to that fee.
  77.  
  78. The user assumes certain risks when he receives software in source form, too.
  79. Who knows who has messed with the code, maybe really fouling it up.  Hey,
  80. it could even be YOU, the user!
  81.  
  82. I hope you find this utility helpful, but I specifically disclaim any 
  83. responsiblity for any damages the use of this utility may cause.
  84.  
  85. If CLEANINI is helpful to you or your organization, you should pay for it.
  86. The license for individuals is $10 (US).  Companies can pay a multiple of
  87. $10.00, based on number of users, or may write for a quotation.
  88.  
  89. Please send license fees to:
  90.  
  91.                             J. D. Stuyck and Associates
  92.                             6 Lincolnshire Circle
  93.                             Bedford, TX  76021-4618
  94.  
  95. Thank you for your support.
  96.  
  97. Jim Stuyck
  98.