My thanks to all for their prompt and very helpful replies.
Hugh LoebnerOn 6/27/05, Hugh Loebner <[EMAIL PROTECTED]> wrote:
Hello all,
How do I get the path name of the current directory?
In other words, how can I find out the name of the folder in which a program is executing?
Thanks,
Hugh
> Hello all,
>
> How do I get the path name of the current directory?
>
> In other words, how can I find out the name of the folder in which a
program
> is executing?
use Cwd;
my $cwd = cwd;
Another way would be to parse it out of $0
___
Perl-Win32
To: Perl-Win32-Users Mailing List; activeperl@listserv.ActiveState.com
Subject: Finding current directory
Hello all,
How do I get the path name of the current directory?
In other words, how can I find out the name of the folder in which a
program is executing?
Thanks,
Hugh
Hello all,
How do I get the path name of the current directory?
In other words, how can I find out the name of the folder in which a program is executing?
Thanks,
Hugh
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsu