home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / ADDEA.ZIP / README < prev    next >
Text File  |  1992-04-04  |  2KB  |  46 lines

  1. These Rexx execs help to setup up the OS/2 2.0 enviroment so that you
  2. can make maximum use of the Workplace Shell.
  3.  
  4. To do that, files need be properly associated with programs so that when
  5. they are opened (double clicked on) the proper action takes place.
  6.  
  7. OS/2 2.0 comes with several Association types defined, but there is no way
  8. for a user to presently add new types.  Therefore, there is not a type for
  9. "Lotus 123 Spreadsheet", for example.  The Makewpsa.cmd routine will let
  10. you create new new association types.
  11.  
  12.     Makewpsa Lotus 123/G Spreadsheet
  13.  
  14. will create a new type in the WPS.
  15.  
  16. A second problem is that you must go to each file (*.wg2 in the case of
  17. Lotus 123/G files), open its settings, and set the proper association type.
  18. This is OK for a few files, but a method is needed to do this en-masse.
  19. The Addea.cmd routine will let you reset or add EA Types to files.
  20.  
  21.    AddEA  d:\123g\*.wg2  Lotus 123/G Spreadsheet
  22.  
  23. will modify all *.wg2 files and add the new EA type.
  24.  
  25.    AddEa d:\*.exe Executable /s /r
  26.  
  27. will modify all *.exe files on the d: drive and all subdirectories under
  28. it.  The /r says to wipeout any existing EAs on the file and replace them with
  29. the new EA.  The default is to add the type.
  30.  
  31. One more piece of work is left to be done, and that is a routine that
  32. will modify the ASSOCTABLE extended attribute of the program objects.  Then
  33. everything will be associated together.
  34.  
  35. A sample cmd file to setup a WPS with new associations and to modify the
  36. files to use these is shown in the WPSSETUP.SMP file.
  37.  
  38. You are not allowed to look at the code and sneer or make any jokes'or laugh, etc.
  39. I am not a programmer, and that will be obvious.  Report any problems to
  40. MIKE  at CIS 76416,1564
  41.  
  42.  
  43. Makewpsa.cmd courtesy of Brian Tucker
  44.  
  45. Mike Felix
  46. Houston, TX