home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / misc / 27481 < prev    next >
Encoding:
Text File  |  1992-08-16  |  2.4 KB  |  59 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!gatech!hubcap!grimlok
  3. From: grimlok@hubcap.clemson.edu (Mike Percy)
  4. Subject: PATH Variable, a general request (& criticism)
  5. Message-ID: <1992Aug16.134527.27545@hubcap.clemson.edu>
  6. Organization: Clemson University
  7. Date: Sun, 16 Aug 1992 13:45:27 GMT
  8. Lines: 49
  9.  
  10. eric@tgm.CAM.ORG (Eric Trepanier) writes:
  11.  
  12. >branch@hfglobe.intel.com writes in article <1992Aug12.180735.22655@intelhf.hf.intel.com>:
  13.  
  14. [longer than 127 char paths in DOS]
  15.  
  16. Flame to developers:
  17.  
  18. This goes out to all Windows, DOS, and OS/2 developers.  Every stinking
  19. program I install has instructions along the line of
  20.   "Make sure to include the directory c:\wizbang (or wherever you
  21. installed Wizbang 2.1) in your PATH statement."
  22.  
  23. Arg!  THey know there's a limitation on DOS (therefore Windows) PATHs.
  24. And they know that people often put things in directories like
  25. d:\windows\apps\wizbang.  And they know that longer paths make for
  26. slower performance.
  27.  
  28. Under windows and OS/2, I'm most likely going to be launching pgms from
  29. clicking on an icon (which could include a fully qualified path to the
  30. executable), so why must I have it in the path?  So it can find it's
  31. DLLs?  I'd love to have my path include only those directories from
  32. which I'm actually going to start programs from the command line.
  33.  
  34. I have two suggestions to all developers.  
  35. 1.  Include the ability to point the executable to a configuration file.
  36.     If not indicated get the cfg file from the launch directory or the
  37.     working director, but let us decide to override:
  38.      d:\wizbang\wizbang.exe -c d:\wizbang\wizbang.ini
  39.    (Keep this out of win.ini, I hate programs that screw with my
  40.     win.ini!)
  41.  
  42. 2.  Along with any configuration stuff like colors and drivers and such,
  43.     please, please, please include path directives:
  44.     [WizBang]
  45.     dll-path=d:\wizbang
  46.     font-path=d:\wizbang
  47.     wbg-path=d:\wizbang
  48.     save-path=d:\wizbang\save
  49.     
  50. With a setup like this, I'll not have to worry about long paths, dll
  51. or font lirbary name conflicts, programs stomping on each other and
  52. things like that.  Is this too much to ask?  Is it too difficult for
  53. developers?
  54.  
  55. Mike Percy             | grimlok@hubcap.clemson.edu  | I don't know about
  56. Sr. Systems Analyst    | mspercy@clemson.clemson.edu | your brain, but mine
  57. Info. Sys. Development | mspercy@clemson.BITNET      | is really...bossy.
  58. Clemson University     | (803) 656-3780              | (Laurie Anderson)
  59.