On Sun, 15 Jan 2006 08:08:16 -0500, "Roger Upole" <[EMAIL PROTECTED]> wrote:
>
>"Bengt Richter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>> On 14 Jan 2006 16:52:33 -0800, "Claude Henchoz" <[EMAIL PROTECTED]> wrote:
>>
>>>Hi
>>>
>>>Is there any way of listing partitions on a (win
Why I don't want to rely on WMI:
I am wanting to use this under Windows PE, and although I can include
WMI, I just wanted to find out whether there is a way to not use it.
Another thing:
I really do want to also get the partitions that do _not_ have an
associated drive letter.
All in all:
I am pr
"Bengt Richter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On 14 Jan 2006 16:52:33 -0800, "Claude Henchoz" <[EMAIL PROTECTED]> wrote:
>
>>Hi
>>
>>Is there any way of listing partitions on a (win32) computer without
>>using WMI?
>>
> Maybe this will work (I skipped A: and B:, but
"Claude Henchoz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Hi
>
> Is there any way of listing partitions on a (win32) computer without
> using WMI?
>
> Cheers, Claude
>
Using win32file.DeviceIOControl with IOCTL_DISK_GET_DRIVE_LAYOUT
as the control code should be able to retri
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 info
[EMAIL PROTECTED] wrote:
> Tim Golden wrote:
>> [EMAIL PROTECTED] wrote:
>>> Tim Golden wrote:
Claude Henchoz wrote:
> Is there any way of listing partitions on a (win32) computer without
> using WMI?
Not that this answers your question, but why _don't_ you
want to use W
Tim Golden wrote:
> [EMAIL PROTECTED] wrote:
> > Tim Golden wrote:
> > > Claude Henchoz wrote:
> > >
> > > > Is there any way of listing partitions on a (win32) computer without
> > > > using WMI?
> > >
> > > Not that this answers your question, but why _don't_ you
> > > want to use WMI?
> > >
> >
[EMAIL PROTECTED] wrote:
> Tim Golden wrote:
> > Claude Henchoz wrote:
> >
> > > Is there any way of listing partitions on a (win32) computer without
> > > using WMI?
> >
> > Not that this answers your question, but why _don't_ you
> > want to use WMI?
> >
> > TJG
>
> >>> import wmi
>
> Traceback (
Tim Golden wrote:
> Claude Henchoz wrote:
>
> > Is there any way of listing partitions on a (win32) computer without
> > using WMI?
>
> Not that this answers your question, but why _don't_ you
> want to use WMI?
>
> TJG
>>> import wmi
Traceback (most recent call last):
File "", line 1, in -top
Claude Henchoz wrote:
> Is there any way of listing partitions on a (win32) computer without
> using WMI?
Not that this answers your question, but why _don't_ you
want to use WMI?
TJG
--
http://mail.python.org/mailman/listinfo/python-list
On 14 Jan 2006 16:52:33 -0800, "Claude Henchoz" <[EMAIL PROTECTED]> wrote:
>Hi
>
>Is there any way of listing partitions on a (win32) computer without
>using WMI?
>
Maybe this will work (I skipped A: and B:, but you can include them if
you want to catch floppy drives with something in them). The '
Hi
Is there any way of listing partitions on a (win32) computer without
using WMI?
Cheers, Claude
--
http://mail.python.org/mailman/listinfo/python-list
12 matches
Mail list logo