From: MikkelFJ Date: 2003-10-10T01:50:45+09:00 Subject: Re: Newbie question regarding drives "Sperberg, Roger" wrote in message news:212ACF1963F6D511832F0002A53FA3740119CF09@nycnt02.aspenpubl.com... > Can someone advise me of how to find out within my Ruby program what drives > are on a system, and what type of drive (local hard drive, floppy, CD-ROM, > etc.) they are? > > I'm working with a Win2000 system, but it might also be used by someone > running Linux. Windows only, WIN32OLE can be used to access the WMI COM objects (Windows Management Instrumentation). These provide a whole range of system information and control tools - even remote booting. See Microsoft MSDN documentation for details. A random google brings http://cwashington.netreach.net/depo/default.asp?topic=wmifaq Mikkel