home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / MDSK14.ZIP / DefGen.txt < prev    next >
Text File  |  1993-02-10  |  3KB  |  87 lines

  1. DefGen v1.21 - Copyright 1993, Matthew Palcic
  2. All rights reserved.  Distributed as Freeware.
  3. ------------------------------------------------------------------------
  4.  
  5. Welcome to DefGen.  This program will turn a .RC file from OS/2 and
  6. create a .DEF file from it.  This allows you to easily re-create the
  7. stock objects created during installation of OS/2.
  8.  
  9. Using the resulting .DEF file you can update objects after fine tuning,
  10. or you can rebuild damaged objects.  Additionally you can learn about
  11. the objects that OS/2 uses and either modify, improve, or get ideas from
  12. the ones IBM uses.  Most of the settings are documented in the
  13. CrtObj.txt file.  Convert your INI.RC file and look at the resulting
  14. .DEF file before you figure you know enough to create your own .DEF
  15. files by hand.  There is a lot to be learned by studying that file
  16. because OS/2 uses it as the main desktop for the Workplace Shell.
  17.  
  18. DefGen is based on Rebuild.cmd by Greg Czaja.  Thanks, Greg, for
  19. pointing out some of the snags with getting the OBJECTID.
  20.  
  21. DeskMan/2 Support
  22. -----------------
  23. DefGen supports the .RC format that OS/2 uses, as well as the .DRC files
  24. generated by DeskMan/2.  These file formats are for practical purposes
  25. identical.  Using DefGen will allow you to use your DeskMan definition
  26. files on a machine that doesn't have a copy of DeskMan installed.
  27.  
  28. You can convert your DeskMan DMAN.DRC to DMAN.DEF with the following
  29. command:
  30.  
  31.   DefGen DMAN.DRC DMAN.DEF
  32.  
  33. Then use MakeDesk on any machine(s) on which you want to load those
  34. objects, using "MAKEDESK DMAN.DEF".  A future version of MakeDesk may
  35. support .RC and .DRC file formats directly.
  36.  
  37. Note:  To preserve desktop icons, be sure to set the "Create icons"
  38. option on page 3 of DeskMan's Save settings tab, or add your own
  39. ICONFILE definitions to your .DEF file.
  40.  
  41.  
  42. Program command line parameters:
  43. ------------------------------------------------------------------------
  44.  
  45.   Syntax:
  46.      DefGen drive|infile outfile
  47.  
  48.   Parameters:
  49.      drive      Drive letter containing \OS2\INI.RC
  50.                 Default - boot drive
  51.                 Example - E:
  52.      infile     Filename to process
  53.                 Default extension - (.rc)
  54.                 Example: E:\OS2\WIN_30.RC
  55.  
  56.      outfile    Object definition file to create.
  57.                 Default extension - (.def)
  58.                 Example: D:\Defs\Win_30.def
  59.  
  60.   Examples:
  61.      DefGen E: D:\Temp\Ini.def
  62.      DefGen C:\OS2\WIN_30.RC D:\Temp\Win_30.def
  63.  
  64. ------------------------------------------------------------------------
  65.  
  66. User assumes all risk by using this product.  Matthew Palcic holds no
  67. warranty or guarantee that this program will not cause side effects or
  68. crashes.  Use it at your own risk. DefGen only uses documented system
  69. calls to process files. If your system gets corrupted, don't blame me.
  70. Chances are that some OS/2 bugs (either in the WorkPlace Shell or in
  71. REXX) caused it.
  72.  
  73. **
  74.  
  75. I have developed a process for installing OS/2, the service pack, the
  76. NetWare requester, and desktop setups from a Novell NetWare file server
  77. requiring only a few diskettes at each station. Inquiries regarding this
  78. process can be directed to:
  79.  
  80.   Personal Computer Systems
  81.   5450 Olive Road
  82.   Dayton, OH  45426
  83.  
  84.   513-837-8486, 9am-8pm M-F
  85.   513-837-8286, Fax
  86.  
  87.