Re: List open files

2008-04-09 Thread Bruno GUERPILLON

Guillaume [EMAIL PROTECTED] a écrit dans le message de 
news: [EMAIL PROTECTED]
 Oh and don't forget to take care about saving correctly the Oracle 
 database ! ^^
 (private joke *giggles* j/k :))

 Regards,
 -- 
 Guillaume

Sure Guillamne and dont forget to answer the right questions *grin*

Bruno. 


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

Re: List open files

2008-04-08 Thread Mike Driscoll
On Apr 8, 10:16 am, Bruno GUERPILLON [EMAIL PROTECTED] wrote:
 Hi,

 I'd like, in a WIN32 environment, list all open files.
 Anyone got a clue how to do this ?

 Regards,

 Bruno.

XP comes with a utility called OpenFiles.exe which supposedly gives
this functionality. You can use Python's subprocess command to run it
and parse its output.

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


Re: List open files

2008-04-08 Thread Miki
Hello Bruno,

 I'd like, in a WIN32 environment, list all open files.
 Anyone got a clue how to do this ?
Have a look at the sysinternals suite (http://technet.microsoft.com/en-
us/sysinternals/0e18b180-9b7a-4c49-8120-c47c5a693683.aspx), you might
find stuff there that will help you.

HTH,
--
Miki [EMAIL PROTECTED]
http://pythonwise.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: List open files

2008-04-08 Thread Bruno GUERPILLON

Mike Driscoll [EMAIL PROTECTED] a écrit dans le message de news: 
[EMAIL PROTECTED]
 On Apr 8, 10:16 am, Bruno GUERPILLON [EMAIL PROTECTED] wrote:
 Hi,

 I'd like, in a WIN32 environment, list all open files.
 Anyone got a clue how to do this ?

 Regards,

 Bruno.

 XP comes with a utility called OpenFiles.exe which supposedly gives
 this functionality. You can use Python's subprocess command to run it
 and parse its output.

 Mike

Thanks for the answer Mike.
Well, Openfiles.exe list only file opened vi Network.
I'd like to know the local opene files list.

Regards 


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

Re: List open files

2008-04-08 Thread Bruno GUERPILLON

Miki [EMAIL PROTECTED] a écrit dans le message de news: 
[EMAIL PROTECTED]
 Hello Bruno,

 I'd like, in a WIN32 environment, list all open files.
 Anyone got a clue how to do this ?
 Have a look at the sysinternals suite (http://technet.microsoft.com/en-
 us/sysinternals/0e18b180-9b7a-4c49-8120-c47c5a693683.aspx), you might
 find stuff there that will help you.

 HTH,
 --
 Miki [EMAIL PROTECTED]
 http://pythonwise.blogspot.com

Thanks Miki,

Well, i think i'll use handle.exe from sysinternals and parse the input.

Regards, 


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

Re: List open files

2008-04-08 Thread M�ta-MCI (MVP)
Salut !

Finalement, tu as obtenu plus de réponses sur le NG français.
Comme quoi, la vérité n'est pas toujours ailleurs...

@+
-- 
Michel Claveau


 

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


Re: List open files

2008-04-08 Thread M�ta-MCI (MVP)
Hi!

 OpenFiles.exe 

OK, on a standard CPU/windows.
On a server, use:Net File  

@-salutations
-- 
Michel Claveau

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


Re: List open files

2008-04-08 Thread Guillaume
Oh and don't forget to take care about saving correctly the Oracle 
database ! ^^
(private joke *giggles* j/k :))

Regards,
-- 
Guillaume
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: List open files

2008-04-08 Thread Mike Driscoll
On Apr 8, 10:56 am, Bruno GUERPILLON [EMAIL PROTECTED] wrote:
 Mike Driscoll [EMAIL PROTECTED] a écrit dans le message de news:
 [EMAIL PROTECTED]

  On Apr 8, 10:16 am, Bruno GUERPILLON [EMAIL PROTECTED] wrote:
  Hi,

  I'd like, in a WIN32 environment, list all open files.
  Anyone got a clue how to do this ?

  Regards,

  Bruno.

  XP comes with a utility called OpenFiles.exe which supposedly gives
  this functionality. You can use Python's subprocess command to run it
  and parse its output.

  Mike

 Thanks for the answer Mike.
 Well, Openfiles.exe list only file opened vi Network.
 I'd like to know the local opene files list.

 Regards

There is a /Local flag that's supposed to show local files that are
open. I've never used this program myself though. You might be able to
use WMI somehow.

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