home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / misc / 36251 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  3.1 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!caen!nic.umass.edu!news.mtholyoke.edu!news.byu.edu!yvax.byu.edu!cunyvm!psuvm!umab!tpermutt
  2. Newsgroups: comp.os.os2.misc
  3. Subject: Re: Viewing new .inf documents (including redbooks)
  4. Message-ID: <92317.095439TPERMUTT@UMAB.BITNET>
  5. From: Thomas Permutt <TPERMUTT@UMAB.BITNET>
  6. Date: Thursday, 12 Nov 1992 09:54:39 EST
  7. References: <BxGtsM.2wD@news.iastate.edu> <9368@blue.cis.pitt.edu.UUCP>
  8. Organization: University of Maryland at Baltimore
  9. Lines: 53
  10.  
  11. In article <9368@blue.cis.pitt.edu.UUCP> djbpitt+@pitt.edu (David J Birnbaum)
  12. writes:
  13. >>I'm trying to view the Redbooks from the WPS.  I have done the following but
  14. >>without success:
  15. >>
  16. >>    1.  Created a program object for "VIEW.EXE" in the INFORMATION folder
  17. >>    2.  In the settings for the "VIEW" object created in 1, set up an
  18. >>        association for "*.inf"
  19. >>
  20. >>Now, when I double click on any of the Redbook objects from the Drives folder,
  21.  I get a message stating that the topic was not found.
  22. >>
  23. >>What am I doing incorrectly?
  24. >
  25. >I fixed this by opening each of the Redbook objects, opening the
  26. >association settings, and changing the default to view.exe. Your second
  27. >step above makes view.exe appear in the menu for all *.inf objects, but it
  28. >doesn't make it the default. By the way, your first step is unnecessary;
  29. >you can just add *.inf in the original view.exe object that came with
  30. >OS/2, since you don't need a shadow of this in the directory where the
  31. >.inf files live.
  32. >
  33. >Does anyone know if there is a smarter way to do this? I'm trying not to
  34. >mix any new stuff in with the original OS/2 distribution; that way, if I
  35. >have to reinstall, I don't lose anything I've added. As a result, I
  36. >don't put new .inf files in c:\os2\books (where the command reference,
  37. >etc. reside), but in a directory I created on a different partition. Is
  38. >there any easy way to make any .inf file I dump in that directory
  39. >automatically use view.exe when double-clicked? Or do I have to change
  40. >them all individually, as I've been doing?
  41. >
  42. The trouble is the Command Reference object in Information.  It associates
  43. view.exe with *.inf, but with parameter cmdref.inf.  Therefore opening the
  44. file xxx.inf produces, by default,
  45.    view.exe xxx.inf cmdref.inf   or
  46.    view.exe cmdref.inf xxx.inf   , I am not sure which.
  47. In either case, view with two arguments interprets one as a file and the
  48. other as a topic, producing the "topic not found" message.
  49.  
  50. I can see no reason for Command Reference to be set up this way; I think it
  51. is just wrong.  Removing the *.inf association from the Command Reference
  52. object makes everything work as it should.
  53.  
  54. By the way, you might consider keeping your .inf files where they are and
  55. putting shadows of them in Book.  Then you get it both ways:  they are safe
  56. from reinstallation, but they are also where OS/2 expects them to be.  This
  57. is not needed to get double-click to work properly.  Rather, the advantage,
  58. I think, is that the "search all libraries" function will look at them.  Of
  59. course, this can also be achieved, I think, by adding the place where they
  60. stay to the "Bookshelf" in config.sys.
  61.  
  62. Tom Permutt tpermutt@medinfo.ab.umd.edu
  63.  
  64.