home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / iniedi.zip / README.1ST < prev   
Text File  |  1993-07-02  |  2KB  |  65 lines

  1. IniEdit
  2. -------
  3.  
  4. IniEdit is a tool that lets you view, modify and backup your INI
  5. files. Please note that this utility should be used with extreme caution.
  6.  
  7. Syntax:
  8. ------
  9. Iniedit <inifile>. If no input file is specified, the program defaults
  10. to the sytem INI file. The user always has the option of viewing the System
  11. and User ini files in addition to the file specified on the command line.
  12.  
  13. An INI file is stuctured this way:
  14.  
  15. Application name:
  16.         Keyword1        Value1
  17.         Keyword2        Value2
  18.         keywordn        Valuen
  19.  
  20. e.g
  21.  
  22.  
  23. Corel   <=====Application
  24.  
  25.         Keywords        Values
  26.         --------        ------
  27.         PlaneColor      1
  28.         PenWidth        3
  29.  
  30.  
  31. The user can delete an application from the INI file by pressing the
  32. <Delete application> push button. Note that this deletes all the
  33. application's associated keywords and values. You should excersise maximum
  34. caution when doing this.
  35.  
  36. Similarly, the user can also delete a specific keyword associated with
  37. an application by pressing the <Delete Keyword> push button. Note
  38. that this deletes all the keyword and its associated value.
  39.  
  40. Modifying a Keyword value is done by pressing the <Modify> push button.
  41. This brings us a dialog window in which the user can enter the new
  42. value. This will only work for text values.
  43.  
  44. At any time the user can press the <Refresh> push button to get a
  45. current view of the loaded file.
  46.  
  47. The INI can be backed up by pushing the <Backup> push button. The user
  48. is prompted for a destination file name. Backup takes place in the background
  49. and the user can stop the process by pressing the <Stop Backup> push button.
  50. Note that the backup procedure also results in a smaller file. If the System or User files are to be replaced by the newly created files, the following needs to be done:
  51.  
  52. In config.sys insert the following statements:
  53.  
  54. REM -----Maintain backup copies of the existing system files:
  55.  
  56. CALL=C:\OS2\XCOPY.EXE C:\OS2\dll\os2.ini C:\OS2\dll\os2.bak
  57. CALL=C:\OS2\XCOPY.EXE C:\OS2\dll\os2sys.ini C:\OS2\dll\os2sys.bak
  58.  
  59. REM -----Replace with new copies.
  60.  
  61. CALL=C:\OS2\XCOPY.EXE C:\mydir\os2new.ini C:\OS2\dll\os2.ini
  62. CALL=C:\OS2\XCOPY.EXE C:\mydir\os2sysnew.ini C:\OS2\dll\os2sys.ini
  63.  
  64. The system needs to be rebooted for changes to take effect.
  65.