A better way to get PATH would be:

$pat = $ENV{PATH};

(forgive me if this doesn't work in win32-perl, I'm a Unix hacker at heart
:)
--
How long will a floating point operation float?

Mark Veinot
Network Administrator
Linux Certified Professional


----- Original Message -----
From: "Veeraraju_Mareddi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, November 22, 2001 9:36 AM
Subject: Backticks Command Execution


> $pat = `echo \%path\%`
>
> This should direct output of the echo command to $path variable.
>
> But this is not happening,but it displays output to the screen instead.
>
> I ran this script in around 200 systems(windows 95 + windows 98),130 out
of
> them produced the required output ,as remining failed.
>
> What may be stoping this to happen?.What is scope of the problem to look
> around.
>
> Please help me...
>
> Thanx very much
> With Regards
> Rajuveera
> **************************************************************************
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
> distribution or forwarding of any or all of the contents in this message
is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> **************************************************************************
> _______________________________________________
> Perl-Win32-Admin mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to