Use the environment's variables, which Perl translates with no problem.
perl -e "print $ENV{SYSTEMROOT}"
perl -e "print $ENV{SYSTEMDRIVE}"
-----Original Message-----
From: Danna Li [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 28, 2000 2:42 PM
To: Perl-Win32-Users Mailing List
Subject: How to get the active drive letter?
Hi,
I am new to perl and would like to know whether there is any library
function (or any alternative) that can be called to find out the active
drive letter and/or the current directory on NT.
I'll be appreciated if you can help.
Thanks,
Danna
---
You are currently subscribed to perl-win32-users as: [EMAIL PROTECTED]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]