[comp.sys.ibm.pc] Path Utilities for 4DOS 3.0

richard@calvin.spp.cornell.edu (Richard Brittain) (03/23/90)

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

austin@bucsf.bu.edu (Austin H. Ziegler, III) (03/26/90)

	Next time, do *not* post a binary to this group.  If you have a
binary to be released, send it to the moderator of comp.binaries.ibm.pc.
This is a discussion group and not a binary-distribution group.  Think next
time before posting.  There is yet another reason to go the c.b.i.p route,
and that is the fact that it will be archived.  I am forwarding your
posting to both Keith Peterson, maintainer of SIMTEL20 and to Bill
Davidsen, moderator of comp.binaries.ibm.pc, where this program will be
*properly* handled.

(who knows...maybe Mac users *are* more intelligent.)

austin
--
  austin@bucsf.bu.edu (bigstuff to austin@buengf.bu.edu)
  700 Commonwealth Box 2094, Boston, MA  02215   (617) 375-8272  BUENG '93
  "Authenticating USENET in its current form is like putting a lock on the
   wrong side of the exit door." -- Chuq von Rospach, news.misc