Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!know!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!agate!linus!linus!mwunix.mitre.org!jcmorris From: jcmorris@mwunix.mitre.org (Joe Morris) Newsgroups: comp.windows.ms Subject: Re: WIN 3.0 *.INI files Message-ID: <121442@linus.mitre.org> Date: 27 Sep 90 16:06:10 GMT References: <3297@mindlink.UUCP> Sender: usenet@linus.mitre.org Reply-To: jcmorris@mwunix.mitre.org (Joe Morris) Organization: The Mitre Corporation Lines: 31 In a recent article a752@mindlink.UUCP (Bruce Dunn) writes: >> LAIH@QUCDN.QueensU.CA writes: >> 3) As for your final question, which was how to change default directories >> when executing Windows applications from the Program Manager. That is easy >> (and is actually documented in the manual). When specifying the COMMAND >> LINE in the properties for that item, enter something like: >> >> C:\WINDOWS\WORD\DATA\WINWORD.EXE [...] > This strategy does work. However, when I do it I lose the >Winword-specific icon and get a generic icon in Program Manager. Any ideas as >to how to keep the program-specific icon? Just open the icon setup (File -> Properties -> Change Icon). You should see the same path and name that you typed in the "command line" entry in the properties setup box. Change the entry (in the box with the label "File Name") to point to the true executable file. This is where Windows looks for an icon to use in the group display. The problem is that when you lie to Windows about where the program resides the system still finds the code because the path is searched. This isn't true for the icon since it's a data file with an explicit path given. I've got the same problem but can't use this technique because I make it a point *not* to put too much in my PATH variable. (I can have several mutually antagonistic directories such as multiple versions of a product.) I need a way to force a default directory without having to have the executable code in the PATH. Any ideas? Joe Morris