RE: Edit Windows PATH
- From: cdevers@xxxxxxxxx (Chris Devers)
- Date: Wed, 27 Apr 2005 12:20:40 -0400 (EDT)
On Wed, 27 Apr 2005, Bakken, Luke wrote:
> That will change the environment for the cmd.exe process that is
> executed by that one system() call. Changing %ENV will change the
> environment for all processes started by the perl script.
That's the behavior on POSIXy systems, but I had the impression that on
Windows the SET command would have a global effect.
I seem to remember using a variant of this to do things like set file
associations from the DOS shell on NT4, and being surprised that a
command I expected to only work for the current session having effects
on all future sessions. Maybe that was something else though...
But I avoid Windows as much as I can get away with, so I could easily be
wrong about this.
--
Chris Devers
.
- References:
- RE: Edit Windows PATH
- From: Luke Bakken
- RE: Edit Windows PATH
- Prev by Date: RE: Spread***::ParseExcel - Out of memory error
- Next by Date: Re: REGEXP removing - il- - -b-f and - il- - - - f
- Previous by thread: RE: Edit Windows PATH
- Index(es):