Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!lll-lcc!ames!ucbcad!ucbvax!decvax!tektronix!reed!psu-cs!omepd!perry From: perry@omepd.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: DOS enviroment size Message-ID: <475@omepd> Date: Mon, 2-Mar-87 15:53:47 EST Article-I.D.: omepd.475 Posted: Mon Mar 2 15:53:47 1987 Date-Received: Wed, 4-Mar-87 20:02:02 EST References: <2091@ncoast.UUCP> <409500003@prism> <2986@iuvax.UUCP> <2771@sdcsvax.UCSD.EDU> <119@homxb.UUCP> <2778@sdcsvax.UCSD.EDU> Sender: news@omepd Reply-To: perry@inteloa.intel.com (Perry The Cynic) Organization: Intel Corp., Hillsboro Lines: 18 Keywords: DOS environment substitutions Summary: %name% environment substitutions work only in batch files In article <2778@sdcsvax.UCSD.EDU> holtz@beowulf.ucsd.edu (Fred Holtz) writes: >In article <119@homxb.UUCP> singhal@homxb.UUCP (S.SINGHAL) 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? > For some inscrutable reason, environment substitutions (%name%) work only during batch file execution. If you try them on the keyboard, it just ignores you... ------------------------------------------------------------------------ << Perry The Cynic >> ...!tektronix!ogcvax!omepd!inteloa!perry ...!verdix!omepd!inteloa!perry (Peter Kiehtreiber) -or try- perry@inteloa.intel.com