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

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to