home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / os2 / wptool09.zip / COPYINI.TXT < prev    next >
Text File  |  1993-04-22  |  3KB  |  84 lines

  1.                          === DISCLAIMER ===
  2.  
  3.  
  4. I allow you to use and distribute COPYINI freely under the condition 
  5. that I am in no way responsible for any damage or loss you may suffer. 
  6.  
  7. Henk Kelder, 2:280/801.339@fidonet.org
  8.              ^^^^^^^^^^^^^<-(new address)
  9.  
  10.  
  11.  
  12. === NOTES on COPYINI ===
  13.  
  14. COPYINI will make a copy of you OS2.INI an OS2SYS.INI to a specified 
  15. directory. Both these ini-files contain a lot of empty space as a
  16. result of the updating of records. COPYINI will result in much smaller
  17. ini-files.
  18.  
  19. NOTE: COPYINI will only work if presentation manager has been started!
  20.  
  21. Syntax:
  22.  
  23.         COPYINI DIRECTORY [/NWT]
  24.  
  25.         DIRECTORY - A directory where the copied ini-files will be located.
  26.  
  27.         /NWT      - Optional, if specified COPYINI will use an undocumented
  28.                     API-Call reset the Write Through bit temporary. This
  29.                     will result in a faster copy operation.
  30.  
  31.  
  32. You could decide to let the ini files be copied to your \OS2\INSTALL 
  33. directory. 
  34. In that case whenever you keep ALT-F1 pressed when booting your PC these new
  35. ini's will be copied to your \OS2 directory. 
  36. (NOTE: also the CONFIG.SYS and STARTUP.CMD will be copied from the
  37. install directory to the root directory then!)
  38. You should take care when using this method. The version of OS2.INI and
  39. OS2SYS.INI that are creating during the installation of OS/2 contain
  40. instructions to CREATE the desktop. The copied version of the ini-files 
  41. contain less than that. You must be sure the desktop's directory structure 
  42. is intact when new ini's are copied back.
  43.  
  44.  
  45. An alternate way to allow you to copy the new ini's is to boot from a
  46. BOOTABLE diskette and copy them manually.
  47.  
  48. Yet another way is to change the PROTSHELL line in the config.sys. If you
  49. change it to PROTSHELL=X:\OS2\CMD.EXE (where X stands for you OS/2 drive)
  50. when booting OS/2 you will not start the workplace shell but a CMD session.
  51. From this session you can manually copy the ini's, and then start the
  52. workplace shell by typing PMSHELL at the command line.
  53.  
  54. NOTE: When you use the method mentioned above a lot of programs (copyini
  55. itself, but also checkini, will NOT work !)
  56.  
  57.  
  58.  
  59. === HOW COPYINI WORKS ===
  60.  
  61.  
  62. COPYINI uses only fully documented calls. It queries via PrfQueryProfileData
  63. all application names within the ini-files. Than, per application name all
  64. the key names are queried, and the per app/key pair the data is retrieved
  65. and written out the the new ini-files.
  66.  
  67.  
  68. Changes in COPYINI november 1992:
  69.  
  70. o   Updated the documentation files (this file)
  71.  
  72. Changes to version 1.1:
  73.  
  74. o   COPYINI does not work when PM has not been started. I fiddled a bit
  75.     with some tests to see if PM was active, until now with little success.
  76.  
  77. Changes to version 1.2:
  78.  
  79. o   Optional, COPYINI now can use an UNDOCUMENTED call to allow caching to 
  80.     INI-Files. This will result in a better performance.
  81.  
  82. o   COPYINI will no longer display all application-key pairs. It will only
  83.     show application names and the count of keys.
  84.