Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cornell!calvin.spp.cornell.edu!richard From: richard@calvin.spp.cornell.edu (Richard Brittain) Newsgroups: comp.sys.ibm.pc Subject: Re: Path Utilities for 4DOS 3.0 Message-ID: <1990Mar23.062306.18311@calvin.spp.cornell.edu> Date: 23 Mar 90 06:23:06 GMT References: <26095dbf.4368@polyslo.CalPoly.EDU> Reply-To: richard@calvin.spp.cornell.edu (Richard Brittain) Distribution: na Organization: Cornell Space Plasma Physics Group Lines: 25 I don't understand this. One of the nice things about 4dos is that there are enough primitives for manipulating the environment that hacks like this are not needed. Since these programs diddle with the parent environment they should work with command.com also (give or take some tweaking) If all you want to do is temporarily change the path, why not just setlocal set path=%new-entry%;%path% .... endlocal If you want to chop stuff out of the middle of the path, or other complex operations, let the program spit the revised value to stdout, then do manglepath args | input %%path - totally legal, no hacks. Also, these programs uppercasify the entire environment, which breaks a lot of stuff that depends on the case of the values (only the NAMES should be upper case) Richard Brittain, School of Elect. Eng., Upson Hall Cornell University, Ithaca, NY 14853 ARPA: richard@calvin.spp.cornell.edu UUCP: {uunet,uw-beaver,rochester,cmcl2}!cornell!calvin!richard