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 impres
Chris Devers wrote:
> On Fri, 1 Jan 1988, amr wrote:
>
>> Do we have Perl script that can edit & add to the Windows (XP, 2000)
>> path.?
>
> Is there a reason that a simple system() command won't work here?
>
> my $status = system( "SET PATH=%PATH%;$new_path" );
> die "Couldn't set %PAT
On Fri, 1 Jan 1988, amr wrote:
> Do we have Perl script that can edit & add to the Windows (XP, 2000) path.?
Is there a reason that a simple system() command won't work here?
my $status = system( "SET PATH=%PATH%;$new_path" );
die "Couldn't set %PATH%: $!" if $status;
Normally I'm oppos
On 1/1/88, amr wrote:
> Hi All,
>
> Do we have Perl script that can edit & add to the Windows (XP, 2000) path.?
>
The PATH environment variable can be accessed using the %ENV hash:
print "$ENV{PATH}";
You can change $ENV{"PATH"} in the script and it will change the PATH
for the rest of the scri
Hi All,
Do we have Perl script that can edit & add to the Windows (XP, 2000) path.?
Thanks
Amr