I've wondered about this myself.  Not having found an API call I've used

  sub drives {
     my @drives;

    for $i (C..Z) {
       $i="$i:";
       push (@drives, $i)  if (-d "$i\\");   
    }
   return @drives;
  }

I haven't started from A since on NT this causes an error dialog to appear.

I'm sure there's a better way than that.

Kev.




[EMAIL PROTECTED] on 27/04/2000 06:44:51
To: [EMAIL PROTECTED] @ INTERNET
cc:  

Subject: How do I see the 'My Comuter' or all the NET in DirTree field ?




        To all Perl/Tk users,
                
                I created a DirTree field but I would like to see all the
drivers that are
                declared in my computer and not only one of them.
                How do I do that ???    
        




===========================
Limor yaakov
Senior QA engineer
Smart Link Ltd.
Tel - 09-8638025
fax - 09-8656552
web: www.smlink.com 
email: [EMAIL PROTECTED]
===========================

Reply via email to