home *** CD-ROM | disk | FTP | other *** search
- 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
- Newsgroups: comp.os.os2.misc
- Subject: Re: Viewing new .inf documents (including redbooks)
- Message-ID: <92317.095439TPERMUTT@UMAB.BITNET>
- From: Thomas Permutt <TPERMUTT@UMAB.BITNET>
- Date: Thursday, 12 Nov 1992 09:54:39 EST
- References: <BxGtsM.2wD@news.iastate.edu> <9368@blue.cis.pitt.edu.UUCP>
- Organization: University of Maryland at Baltimore
- Lines: 53
-
- In article <9368@blue.cis.pitt.edu.UUCP> djbpitt+@pitt.edu (David J Birnbaum)
- writes:
- >>I'm trying to view the Redbooks from the WPS. I have done the following but
- >>without success:
- >>
- >> 1. Created a program object for "VIEW.EXE" in the INFORMATION folder
- >> 2. In the settings for the "VIEW" object created in 1, set up an
- >> association for "*.inf"
- >>
- >>Now, when I double click on any of the Redbook objects from the Drives folder,
- I get a message stating that the topic was not found.
- >>
- >>What am I doing incorrectly?
- >
- >I fixed this by opening each of the Redbook objects, opening the
- >association settings, and changing the default to view.exe. Your second
- >step above makes view.exe appear in the menu for all *.inf objects, but it
- >doesn't make it the default. By the way, your first step is unnecessary;
- >you can just add *.inf in the original view.exe object that came with
- >OS/2, since you don't need a shadow of this in the directory where the
- >.inf files live.
- >
- >Does anyone know if there is a smarter way to do this? I'm trying not to
- >mix any new stuff in with the original OS/2 distribution; that way, if I
- >have to reinstall, I don't lose anything I've added. As a result, I
- >don't put new .inf files in c:\os2\books (where the command reference,
- >etc. reside), but in a directory I created on a different partition. Is
- >there any easy way to make any .inf file I dump in that directory
- >automatically use view.exe when double-clicked? Or do I have to change
- >them all individually, as I've been doing?
- >
- The trouble is the Command Reference object in Information. It associates
- view.exe with *.inf, but with parameter cmdref.inf. Therefore opening the
- file xxx.inf produces, by default,
- view.exe xxx.inf cmdref.inf or
- view.exe cmdref.inf xxx.inf , I am not sure which.
- In either case, view with two arguments interprets one as a file and the
- other as a topic, producing the "topic not found" message.
-
- I can see no reason for Command Reference to be set up this way; I think it
- is just wrong. Removing the *.inf association from the Command Reference
- object makes everything work as it should.
-
- By the way, you might consider keeping your .inf files where they are and
- putting shadows of them in Book. Then you get it both ways: they are safe
- from reinstallation, but they are also where OS/2 expects them to be. This
- is not needed to get double-click to work properly. Rather, the advantage,
- I think, is that the "search all libraries" function will look at them. Of
- course, this can also be achieved, I think, by adding the place where they
- stay to the "Bookshelf" in config.sys.
-
- Tom Permutt tpermutt@medinfo.ab.umd.edu
-
-