home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 078 / WPTOOL06.ZIP / COPYINI.TXT < prev    next >
Text File  |  1993-02-16  |  2KB  |  63 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, Fidonet 2:512/47.339
  8.  
  9.  
  10.  
  11.                        === NOTES on COPYINI ===
  12.  
  13. COPYINI will make a copy of you OS2.INI an OS2SYS.INI to a specified 
  14. directory. Both these ini-files contain a lot of empty space as a
  15. result of the updating of records. COPYINI will result in much smaller
  16. ini-files.
  17.  
  18. COPYINI will only work if presentation manager has been started.
  19.  
  20. You could decide to let this location be your \OS2\INSTALL directory. In
  21. that case whenever you keep ALT-F1 pressed when booting your PC these new
  22. ini's will be copied to your \OS2 directory. 
  23. (NOTE: also the CONFIG.SYS and STARTUP.CMD will be copied from the
  24. install directory to the root directory then!)
  25. You should take care when using this method. The version of OS2.INI and
  26. OS2SYS.INI that are creating during the installation of OS/2 contain
  27. instructions to CREATE the desktop. The copied version of the ini-files 
  28. contain less than that. You must be sure the desktop's directory structure 
  29. is intact when new ini's are copied back.
  30.  
  31.  
  32. An alternate way to allow you to copy the new ini's is to boot from a
  33. BOOTABLE diskette and copy them manually.
  34.  
  35. Yet another way is to change the PROTSHELL line in the config.sys. If you
  36. change it to PROTSHELL=X:\OS2\CMD.EXE (where X stands for you OS/2 drive)
  37. when booting OS/2 you will not start the workplace shell but a CMD session.
  38. From this session you can manually copy the ini's, and then start the
  39. workplace shell by typing PMSHELL at the command line.
  40.  
  41. NOTE: When you use the method mentioned above a lot of programs (copyini
  42. itself, but also checkini, will NOT work !)
  43.  
  44.  
  45.  
  46.                      === HOW COPYINI WORKS ===
  47.  
  48.  
  49. COPYINI uses only fully documented calls. It queries via PrfQueryProfileData
  50. all application names within the ini-files. Than, per application name all
  51. the key names are queried, and the per app/key pair the data is retrieved
  52. and written out the the new ini-files.
  53.  
  54.  
  55. Changes in COPYINI november 1992:
  56.  
  57. o   Updated the documentation files (this file)
  58.  
  59. Changes to version 1.1:
  60.  
  61. o   COPYINI does not work when PM has not been started. I fiddled a bit
  62.     with some tests to see if PM was active, until now with little success.
  63.