[Win32utils-devel] Win32OLE ?

Daniel Berger djberg96 at gmail.com
Sun Jul 17 16:23:49 EDT 2005

Zach Dennis wrote:

> Dan/Park,
> What are your thoughts about implemented portion of the win32utils 
> family that are written in ruby utilizing WIN32OLE.
> I have found myself writing decent amount of ruby code accessing the 
> Windows Scripting Host (WSH) object models. I have a few scripts which 
> could be added. I do not believe the functionality is currently 
> available with win32utils:
>  - map network drives
>  - determine all drive letters in use
>  - return system information about each drive
>  - determine next available drive letter (including local and remotely 
> mapped drives)
> Thanks,
> Zach

Generally speaking, I tend to favor C over WIN32OLE, except when a 
WMI/ADSI approach is easier and better, e.g. sys-proctable.

As for drive info, you can take a look at win32-driveinfo in CVS.  This 
is something I've been meaning to go back and look over.



More information about the win32utils-devel mailing list