Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!well!ljz From: ljz@well.UUCP Newsgroups: comp.sys.ibm.pc Subject: DOS enviroment size Message-ID: <2678@well.UUCP> Date: Sat, 28-Feb-87 18:56:17 EST Article-I.D.: well.2678 Posted: Sat Feb 28 18:56:17 1987 Date-Received: Sun, 1-Mar-87 17:04:47 EST References: <2091@ncoast.UUCP> <409500003@prism> <2986@iuvax.UUCP> <2771@sdcsvax.UCSD.EDU> <119@homxb.UUCP> <2778@sdcsvax.UCSD.EDU> Reply-To: ljz@well.UUCP (Lloyd Zusman) Distribution: world Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 12 Keywords: path environment Summary: %PATH% must be referenced in .BAT file In article <2778@sdcsvax.UCSD.EDU> holtz@beowulf.ucsd.edu (Fred Holtz) writes: >>PATH=c:\;c:\this\that;c:\work\bin >>PATH=%PATH%;c:\this\also;c:\ramres >>PATH=%PATH%;c:\thats\all > >I tried this under PC-DOS 3.1 with no luck. I like the construct; what >DOS are you using to achieve environment variable substitution? Unfortunately, the above trick only works in .BAT files. It works with any environment variable, not just PATH.