Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!spool.mu.edu!munnari.oz.au!bruce!monu0.cc.monash.edu.au!vaxc.cc.monash.edu.au!hadgraft From: hadgraft@vaxc.cc.monash.edu.au (Hadgraft) Newsgroups: comp.windows.ms Subject: Re: Changing the path (and other environment variables) Message-ID: <1991May9.091904.86688@vaxc.cc.monash.edu.au> Date: 8 May 91 23:19:04 GMT References: <1991May3.194552.24233@maytag.waterloo.edu> Organization: Civil Engineering, Monash University, Australia Lines: 23 In article <1991May3.194552.24233@maytag.waterloo.edu>, dmurdoch@watstat.waterloo.edu (Duncan Murdoch) writes: > > I'm new at Windows, so this is probably an easy question. (Is there a FAQ > list somewhere?) How do I change the master copy of the Path from within > Windows? What I want is the equivalent of the PATH command in COMMAND.COM; > just opening a DOS window and using it doesn't work, because the change is > local to that window. > As far as I know, it's not possible. It pays to get it right first time. Since each application gets it's own copy of the DOS environment, it's possible to change the PATH for each one, which might solve your problem. I do this when building Windows applications. I run a batch file that sets the appropriate PATH, then runs MAKE. This saves having all the development directories cluttering my normal PATH. -- +--------------------------------------+ | Roger Hadgraft +----------------------------------+ | Senior Lecturer | hadgraft@civeng.monash.edu.au | | Dept of Civil Engineering | phone: +61 3 565 4983 | | Monash University | fax: +61 3 565 4944 or 3409 | | Clayton, Vic. 3168. Australia. +----------------------------------+ +--------------------------------------+