home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / bakini.zip / READ.ME < prev   
Text File  |  1994-02-02  |  2KB  |  33 lines

  1.  
  2. BACKINI.CMD is a small REXX program that makes backups of all the *.ini files
  3. found in the C:\os2 directory.  You can easily modify it to use a different 
  4. drive.  If your *.ini files are the normal locations this will back up the two
  5. major ini files, os2.ini and os2sys.ini.
  6.  
  7. Backini.cmd is intended to be included in your startup folder.  To do this copy
  8. the file to c:\os2.   Create a shadow of the backini.cmd file in the startup 
  9. folder.
  10.  
  11. The program works by maintaining a copy of a dir *.ini of c:\os2 in a file named
  12. ini.lst.  Each time the computer is started, the program runs, reads the ini.lst
  13. file and creates a new one.  It compares the new one against the old one, and if 
  14. there are any items in the new one that are not in the old one, or that show any
  15. changes in the creation date or size, it creates backup(s).
  16.  
  17. The backups maintained are *.cur, a copy of the present ini file, *.bak a backup
  18. of the previous version, and *.bk2 a backup of the version prior to the previous
  19. one.
  20.  
  21. If the ini file is newly created, the program creates all the backup files (in this 
  22. case these are all copies of the present one), and then will gradually "ripple"
  23. changes through the backup layers.
  24.  
  25. Because the os2.ini and os2sys.ini file frequently change, you will find that
  26. these get backed up most times the computer is run.
  27.  
  28. This is the first REXX program I have ever written, so it is wide open for 
  29. improvement.
  30.  
  31. I have put a copyright on it, but you are free to use and modify the progam
  32. if you make available for public use any general improvements that you make 
  33. so all may benefit.