Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!helios!aim1!jlr1801 From: jlr1801@aim1.tamu.edu (Jeff Rife) Newsgroups: comp.windows.ms Subject: Re: Re: 386 Enhanced Problem. Message-ID: <13696@helios.TAMU.EDU> Date: 25 Mar 91 04:36:20 GMT References: <37140010@hpopd.pwd.hp.com> <1387@macuni.mqcc.mq.oz> <1991Mar23.070323.9582@athena.mit.edu> Sender: usenet@helios.TAMU.EDU Organization: City of College Station, Texas Lines: 30 In article <1991Mar23.070323.9582@athena.mit.edu> mmshah@athena.mit.edu (Milan M Shah) writes: > >The second reason is really what I believe to be a bug in Windows 3.0. Try >this: instead of include c:\win3 (or equivalent) in your path, first subst >it to some letter like w: and include w: in your path. Next, try to start up >sysedit - it should complain with "Unable to open W:\\system.ini" etc. >Moreover, if you change settings, for example in File Manager or Program >Manager, they will be unable to find their .ini files because they are >probably looking for W:\\xxx.ini. I don't know why windows attaches the >double backslash to these pathnames. In any case, your settings will not be >saved and will generally lead to confusion. So, don't subst your windows >directory. > It's not a general Windows bug. It is a bug in the code in those programs. A Windows program can find out where the Windows directory is, using a Windows function call. This is returned in a manner consistent with all DOS pathnames so that subdirectories do not have a trailing slash, except the root directory. The code in SYSEDIT, or PROGMAN, does not check to see if there is already a trailing backslash, and blindly appends one. THIS IS BAD CODE, but not a general Windows bug. It's bit me in DOS programs, but I guess the MS programmers have never had any bugs before. ;=> -- Jeff Rife P.O. Box 3836 | "Because he was human; because he had goodness; College Station, TX 77844 | because he was moral they called him insane. (409) 823-2710 | Delusions of grandeur; visons of splendor; jlr1801@aim1.tamu.edu | A manic-depressive, he walks in the rain."