in reply to Using Window System Path Variable in Perl Script
You can get the scalar containing the windows path by indexing it thus:
my $winpath = $ENV{windir}; # Returns C:\WINDOWS or whatever #If you prefer systemroot , my $sysroot=$ENV{SystemRoot};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using Window System Path Variable in Perl Script
by devgoddess (Acolyte) on Mar 15, 2004 at 00:01 UTC | |
by Anonymous Monk on Mar 15, 2004 at 04:56 UTC | |
by devgoddess (Acolyte) on Mar 15, 2004 at 15:17 UTC | |
by Joost (Canon) on Mar 15, 2004 at 21:04 UTC | |
|