To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Cc: djgpp AT delorie DOT com Subject: Re: Setting env variables References: <6783jr$gv2 AT freenet-news DOT carleton DOT ca> From: Esa A E Peuha Date: 17 Dec 1997 11:54:41 +0200 In-Reply-To: ao950@FreeNet.Carleton.CA's message of 17 Dec 1997 08:47:55 GMT Message-ID: <86p3ejs2t26.fsf@vesuri.Helsinki.FI> Lines: 19 Precedence: bulk ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) writes: > Secondly, maybe someone can decompile the set.com (or whatever it is) that > comes with DOS to see how to modify the parent environment. The SET > command works nicely for this: The SET command is internal to COMMAND.COM; it *doesn't* change any parent environment. You can try this: command set prompt=$p$l exit Notice how the exit command undoes the prompt change. -- Esa Peuha student of mathematics at the University of Helsinki http://www.helsinki.fi/~peuha/