🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.apps
Article #4306

Re: Updating of "LIBPATH" after config.sys possible/not possible?

#4306
From: Jason J. Lane
Date: Thu, 01 Feb 1996 14:25
25 lines
1790 bytes
Previously, jhs@rdt.monash.edu.au (Jobst Schmalenbach) wrote:
>Hi netters,
>I have read (well I am not quite sure) that it is possible to
>update the "LIBPATH" after boot time, ie from a shell.

There exists two (undocumented?) environment variables in OS/2 that will
let you change the LIBPATH on the fly.  They are BEGINLIBPATH and ENDLIBPATH.
They only change the behavior of LIBPATH for the duration of that command
window.  What you can do is modify your CONFIG.SYS like the following:

rem LIBPATH=.;C:\OS2;...
SET ENDLIBPATH=.;C:\OS2;...

This will late you modify the entire LIBPATH whenever you want.  Added bonus
that installation programs now can no longer mess with your LIBPATH.

/**********************************************************************
Name:  Jason J. Lane (jlane@brownstone.com)
Org:   PLATINUM technology, inc.
Disc:  My employer is not liable for my actions (duh!)
Quote: The wise man can pick up a grain of sand and envision a whole
       universe.  But the stupid man will just lie down on some seaweed
       and roll around until he's completely draped in it.  Then he'll
       stand up and go, "Hey, I'm Vine Man."
**********************************************************************/
Technical Details
Message-ID: <DM3pE3.G4s@gateway.platinum.com>
Path: arc1-ca.pugleaf.net!platinum.com!nobody
References: <4ep28c$7u3@harbinger.cc.monash.edu.au>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.apps,comp.os.os2.setup.misc,comp.lang.rexx,comp.os.os2.misc
Path: arc1-ca.pugleaf.net!platinum.com!nobody
From: jlane@brownstone.com (Jason J. Lane)
Subject: Re: Updating of "LIBPATH" after config.sys possible/not possible?
Message-ID: <DM3pE3.G4s@gateway.platinum.com>
Sender: nobody@gateway.platinum.com
Reply-To: jlane@brownstone.com (Jason J. Lane)
Organization: Platinum technology inc.
Date: Thu, 1 Feb 1996 14:25:14 GMT
References: <4ep28c$7u3@harbinger.cc.monash.edu.au>
X-Newsreader: IBM NewsReader/2 v1.9d - NLS