Roger Upole wrote:
If you decide to use Volume Shadow Copy, I've wrapped some of the
IVss* interfaces for Python, enough to be able to backup selected files
from a volume. Bear in mind that if an application has a file open for
writing and is not VSS-aware, you may get the file in an inconsiste
On Sun, Oct 25, 2009, Roger Upole wrote:
> Aahz wrote:
>> On Fri, Oct 23, 2009, Tim Roberts wrote:
>>> Aahz wrote:
Perhaps it would be better to think more strategically. I don't
actually
care about the list of open files. What I care about is a list of files
that I wan
Aahz wrote:
On Fri, Oct 23, 2009, Tim Roberts wrote:
Aahz wrote:
Perhaps it would be better to think more strategically. I don't
actually
care about the list of open files. What I care about is a list of files
that I want to process and checking whether any of them are open. What
would be
On Fri, Oct 23, 2009, Tim Roberts wrote:
> Aahz wrote:
>>
>> Perhaps it would be better to think more strategically. I don't actually
>> care about the list of open files. What I care about is a list of files
>> that I want to process and checking whether any of them are open. What
>> would be t
Aahz wrote:
> Perhaps it would be better to think more strategically. I don't actually
> care about the list of open files. What I care about is a list of files
> that I want to process and checking whether any of them are open. What
> would be the canonical way of doing that on Windows? It doe
On Fri, Oct 23, 2009, Tim Golden wrote:
> Aahz wrote:
>>
>> Wow! Thanks! Now that I know more what to look for, I did some
>> searching and found this post that had no response:
>>
>> http://mail.python.org/pipermail/python-win32/2009-June/009268.html
>>
>> Assuming that I only care about monito
On Fri, Oct 23, 2009, Tim Roberts wrote:
> Aahz wrote:
>> On Fri, Oct 23, 2009, Christopher Nilsson wrote:
>>>
>>> But, wow... Just starting with windows programming, and jumping right
>>> into the semi-documented territory. Brave. :)
>>
>> Well, I have three things going for me:
>>
>> * I've b
Aahz wrote:
On Fri, Oct 23, 2009, Tim Golden wrote:
Aahz wrote:
I'm just getting into Windows programming for the first time, and I need
to list all open files. Windows has a convenient function for that
(NtQuerySystemInformation), but I can't figure out how I am supposed to
call it. I bought
Aahz wrote:
> On Fri, Oct 23, 2009, Christopher Nilsson wrote:
>
>> But, wow... Just starting with windows programming, and jumping right
>> into the semi-documented territory. Brave. :)
>>
>
> Well, I have three things going for me:
>
> * I've been programming in Python for more than a de
On Fri, Oct 23, 2009, Tim Golden wrote:
> Aahz wrote:
>>
>> I'm just getting into Windows programming for the first time, and I need
>> to list all open files. Windows has a convenient function for that
>> (NtQuerySystemInformation), but I can't figure out how I am supposed to
>> call it. I bough
Aahz wrote:
I'm just getting into Windows programming for the first time, and I need
to list all open files. Windows has a convenient function for that
(NtQuerySystemInformation), but I can't figure out how I am supposed to
call it. I bought of copy of the Win32 book and I can't find anything
a
On Fri, Oct 23, 2009, Christopher Nilsson wrote:
>
> But that's only to get you partway there. Next you'll need to
> implement the SYSTEM_INFORMATION_CLASS structures, to provide as
> parameters.
Ayup.
> But, wow... Just starting with windows programming, and jumping right
> into the semi-docume
On Fri, Oct 23, 2009, Andrew MacIntyre wrote:
> Aahz wrote:
>>
>> I'm just getting into Windows programming for the first time,
>> and I need to list all open files. Windows has a convenient
>> function for that (NtQuerySystemInformation), but I can't figure
>> out how I am supposed to call it. I
Yep, that will give you an AttributeError...
You want to be looking in "ntdll", not kernel32.
eg. ctypes.windll.ntdll.NtQuerySystemInformation
But that's only to get you partway there. Next you'll need to
implement the SYSTEM_INFORMATION_CLASS structures, to provide as
parameters.
MSDN has som
Aahz wrote:
> I'm just getting into Windows programming for the first time,
> and I need
> to list all open files. Windows has a convenient function for that
> (NtQuerySystemInformation), but I can't figure out how I am
> supposed to
> call it. I bought of copy of the Win32 book and I can't fin
I'm just getting into Windows programming for the first time, and I need
to list all open files. Windows has a convenient function for that
(NtQuerySystemInformation), but I can't figure out how I am supposed to
call it. I bought of copy of the Win32 book and I can't find anything
about accessing
16 matches
Mail list logo