Singh - I can't find a pure-perl way to get a win32 drive list. However, since I'm new to perl and have just started to write modules, I have attached a module (Win32-Getdrives-0.01.tar.zip) that I just wrote that encapsulates the win32 _getdrives function.
Usage: use Win32::Getdrives; @drives = getdrives; returns a list of disk drives (including networked drives) on your machine. See the POD for more documentation. This module should install like any CPAN module (i.e.: perl makefile.pl, nmake, nmake test, nmake install). If you are not familiar with this process, please look at <www.CPAN.org>. You will need a C compiler (I use MS Visual C++ v6.0). You may need the Unix tar, gzip, gunzip; they are freely available at <ftp://ftp.cs.washington.edu/pub/ntemacs/utilities/i386/>. I have tested this module on Windows 2000 and Windows XP. Good luck! -----Original Message----- From: Shishir K. Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 7:03 AM To: [EMAIL PROTECTED] Subject: File system Is there a way to get the directory structure from "My Computer" onwards on windows. This would include the A:\,C:\,D:\ etc... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Win32-Getdrives-0.01.tar.gz
Description: GNU Zip compressed data
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]