= ();
for ('A'..'Z') {
if (opendir DIR, $_:/) {
push @driveletters, $_;
closedir DIR;
}
}
print driveletters: @driveletters\n;
I wrote a Win32::Getdrives
module (my first ever.) This module is available at
http://www.beaucox.com/perl/modules
Felix -
Good comment. I missed the GetLogicalDrives... But I did have fun writing
my first module!
Aloha - Beau.
-Original Message-
From: Felix Geerinckx [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 11:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Win32::Getdrives
on Wed
and use
modules. ActiveState PPM? ???
Aloha - Beau.
-Original Message-
From: Felix Geerinckx [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 11:38 PM
To: [EMAIL PROTECTED]
Subject: RE: Win32::Getdrives
on Wed, 15 May 2002 09:26:52 GMT, [EMAIL PROTECTED] (Beau E. Cox)
wrote
-Original Message-
From: Beau E. Cox [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 11:53 PM
To: [EMAIL PROTECTED]
Subject: Win32::Getdrives
Hi,
A recent poster asked for a way to get a list of drives
on an Win32 system.
Since I couldn't find a pure-perl way
-Original Message-
From: Felix Geerinckx [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 5:22 AM
To: [EMAIL PROTECTED]
Subject: Re: Win32::Getdrives
...
there's always the 'GetLogicalDrives()' function in the
'Win32API::File' module.
Well, that'll teach me to read
Thanks everyone...Appreciate it!!
-Original Message-
From: Beau E. Cox [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 11:53 PM
To: [EMAIL PROTECTED]
Subject: Win32::Getdrives
Hi,
A recent poster asked for a way to get a list of drives on an Win32 system.
Since I
On Wednesday, May 15, 2002, at 03:06 , Beau E. Cox wrote:
[..]
By the by, do you (or anyone out there) know the politically-correct
way to distribute, make, and install a binary module (just the .lib and
.dll) so that people w/o c/c++ compilers (mainly Win32'ers) can install
and use
Hi,
A recent poster asked for a way to get a list of drives on an Win32 system.
Since I couldn't find a pure-perl way to do it, I wrote a Win32::Getdrives
module (my first ever.) This module is available at
http://www.beaucox.com/perl/modules/getdrives/getdrives.html.
Beware