Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!houxm!homxb!singhal From: singhal@homxb.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: DOS enviroment size Message-ID: <121@homxb.UUCP> Date: Mon, 2-Mar-87 10:28:47 EST Article-I.D.: homxb.121 Posted: Mon Mar 2 10:28:47 1987 Date-Received: Tue, 3-Mar-87 20:40:58 EST References: <2091@ncoast.UUCP> <409500003@prism> <2986@iuvax.UUCP> <2778@sdcsvax.UCSD.EDU> Organization: AT&T Bell Laboratories, Holmdel Lines: 21 In article <2778@sdcsvax.UCSD.EDU>, holtz@beowulf.ucsd.edu (Fred Holtz) writes: > >By using the following lines, you can create a PATH as long as you like > >(subject to environment size limitations) : > > > >PATH=c:\;c:\this\that;c:\work\bin > >PATH=%PATH%;c:\this\also;c:\ramres > >PATH=%PATH%;c:\thats\all > > > >(you get the idea ?) > > > > 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? > > Fred Holtz > holtz@sdcsvax.UCSD.EDU The above connstruct works ONLY in batch files and NOT at the DOS level. As far as I know it works in DOS 3.1 also. ---Sharad Singhal