Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!husc6!bbn!rochester!PT.CS.CMU.EDU!B.GP.CS.CMU.EDU!ralf From: ralf@B.GP.CS.CMU.EDU (Ralf Brown) Newsgroups: comp.sys.ibm.pc Subject: Re: Program pathname in the environment. Keywords: DOS, environment, pathname, undocumented Message-ID: <917@PT.CS.CMU.EDU> Date: 20 Feb 88 19:29:00 GMT References: <2781@dalcs.UUCP> Sender: netnews@PT.CS.CMU.EDU Organization: Carnegie-Mellon University, CS/RI Lines: 19 In article <2781@dalcs.UUCP> lane@dalcs.UUCP (John Wright/Dr. Pat Lane) writes: [all about the full pathname of the program following the environment] }Why don't all programs use the sensible approach [of finding their directory]? }is because this is an undocumented (an therefore unguarenteed) feature? May- }be it was not around in DOS 1 (who cares?). Curious. It is also not around in DOS 2.x, and a lot of people still run 2.x. The sensible thing to do (like Turbo C does) is to use this feature if running 3.x, and require some other way of finding the support files otherwise. }John Wright ////////////////// Phone: 902-424-3805 or 902-424-6527 }Post: c/o Dr Pat Lane, Biology Dept, Dalhousie U, Halifax N.S., CANADA B3H-4H8 }Cdn/Bitnet: lane@cs.dal.cdn Arpa: lane%dalcs.uucp@uunet.uu.net }Uucp: lane@dalcs.uucp or {uunet,watmath,utai,garfield}!dalcs!lane -- {harvard,uunet,ucbvax}!b.gp.cs.cmu.edu!ralf -=-=- AT&T: (412)268-3053 (school) ARPA: RALF@B.GP.CS.CMU.EDU |"Tolerance means excusing the mistakes others make. FIDO: Ralf Brown at 129/31 | Tact means not noticing them." --Arthur Schnitzler BITnet: RALF%B.GP.CS.CMU.EDU@CMUCCVMA -=-=- DISCLAIMER? I claimed something?