Thanks for your reply. I didn't include the CD_ROM drive because this particular application only interests in HDDs Regards Cheng
-----Original Message----- From: Nicholas Sherlock [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 February 2004 7:20 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Local Hard Drives Cheng Wei (ASL) wrote: > Hi, > > Say a PC has the following drives: > > C: Local HDD > D: Local HDD > E: CD Drive > F: Mapped Network Drive > > Is there an API function I can call in my program to retrive the local > drives only (i.e. drive C: and D:)? I haven't tried it, but the API call "GetLocalHardDrivesList" sounds promising. (You didn't include the CD-ROM drive in your list of "Local drives" for some reason?) Cheers, Nicholas Sherlock _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003 ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal For more information please visit www.marshalsoftware.com ##################################################################################### _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
