Path: utzoo!attcan!uunet!husc6!uwvax!vanvleck!uwmcsd1!lakesys!jamesd From: jamesd@lakesys.UUCP (James Dicke) Newsgroups: comp.sys.ibm.pc Subject: Re: How to add to PATH on the fly? Message-ID: <773@lakesys.UUCP> Date: 24 Jun 88 19:43:49 GMT References: <688@crcmar.crc.uucp> Reply-To: jamesd@lakesys.UUCP (James Dicke) Organization: Lake Systems - Milwaukee, WI Lines: 27 In article <688@crcmar.crc.uucp> patrick@crcmar.crc.uucp (Andrew Patrick) writes: >There is probably a simple answer to this question, but here it is >anyway: > >How can I add directories to my PATH specification on the fly? > >I want to leave the path as it is and simply add directories on the >end. I don't want to edit AUTOEXEC.BAT and reboot, and I don't want >the changes to be permanent. > I suppose there are two ways to go about this. 1) In DOS 3.0 > there you may use "SET PATH=%PATH%" followed by the path to add. This will add the new path permanently. This command also ONLY works in a batch file. 2) There are a few public domain packages that allow you to actually EDIT your path setting. These are nice but have some compatibility problem. I have one here called "Edit Environment" by Bill Bovee. Of course none of these methods work in a shell. jamesd@lakesys.UUCP Call the infamous City of Aldimar adventure system @ (414) 527-4779 Not a BBS- but an ongoing adventure GAME in a woundrous world. (Spells, Monsters, Combat, Dungeons, Equipment, Treasures, Term-emu, & more)