home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / open.zip / readme.txt < prev   
Text File  |  1995-05-30  |  2KB  |  56 lines

  1. Open - a useful OS/2 WPS utility.
  2.  
  3. I first wrote this little utility basically because I discovered
  4. how to use the WinSetObjectData API to open a Workplace Shell
  5. object, and I thought it was cool.  It has since turned out to be
  6. an extremely handy little tool, which is not bad for something
  7. whose source code is a whopping 33 lines long, including the
  8. help.
  9.  
  10. What does it do?  Basically, it opens WPS objects, using their
  11. default open setting.  So, for example, you can type
  12.  
  13. open c:\os2
  14.  
  15. and it will open the drives folder for c:\os2.  Even handier, typing
  16.  
  17. open .
  18.  
  19. will open the drives folder for whatever the current directory you
  20. are in is.  I tend to use this when I have been doing some stuff from
  21. the command line, and suddenly want to delete a bunch of subdirectories,
  22. which is a lot easier to do from the WPS than from the command line.
  23. This saves navigating all the way through the drives object to get
  24. to the folder you want.
  25.  
  26. Another handy use is if you want to be able to open a folder
  27. from an object's menu.  There is no way to add a folder object to a menu
  28. normally, but if you create a little dummy program object that uses
  29. open.exe to open the folder, you can put _that_ on the menu, and
  30. get the same result.
  31.  
  32. The other really cool thing you can do is something like
  33.  
  34. open os2.bmp
  35.  
  36. This will automatically run whatever the program associated with os2.bmp
  37. is (usually either Windows Paint or the icon editor, but on my system
  38. I have changed it so that bmps are associated with PMView) and load
  39. os2.bmp into it automatically.  Basically, it is the same as
  40. double-clicking on the file object for os2.bmp.
  41.  
  42. So, anyway, I hereby release this little utility as freeware.  I couldn't
  43. see charging any money for something this simple.  The source code is
  44. included if you want to monkey with it.  However, you may not charge
  45. anyone for this software, other than a reasonable fee for duplication,
  46. and all such other legal mumbo-jumbo that is normally associated
  47. with freeware.
  48.  
  49. Please feel free to send me e-mail if you like this little program, or
  50. if you have any questions.
  51.  
  52. -- Rob McDermid
  53. rmcderm@ibm.net
  54.  
  55.  
  56.