Claude Henchoz wrote:
> Hi
> 
> Is there any way of listing partitions on a (win32) computer without
> using WMI?

It looks as though XP has a command-line utility
called diskpart.exe which should be able to do
this kind of thing. I've no experience with it
myself, but assuming that it outputs information
to screen, it should be easy to pull that back
into Python with os.popen or the subprocess module.

TJG
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to