By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,621 Members | 1,077 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,621 IT Pros & Developers. It's quick & easy.

List open files

P: n/a
Hi,

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

Regards,

Bruno.
Apr 8 '08 #1
Share this Question
Share on Google+
9 Replies


P: n/a
On Apr 8, 10:16 am, "Bruno GUERPILLON" <b...@bg.frwrote:
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
Apr 8 '08 #2

P: n/a
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 <mi*********@gmail.com>
http://pythonwise.blogspot.com
Apr 8 '08 #3

P: n/a

"Mike Driscoll" <ky******@gmail.coma écrit dans le message de news:
c6**********************************...oglegroups.com...
On Apr 8, 10:16 am, "Bruno GUERPILLON" <b...@bg.frwrote:
>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
Apr 8 '08 #4

P: n/a

"Miki" <mi*********@gmail.coma écrit dans le message de news:
2a**********************************...oglegroups.com...
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 <mi*********@gmail.com>
http://pythonwise.blogspot.com
Thanks Miki,

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

Regards,
Apr 8 '08 #5

P: n/a
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


Apr 8 '08 #6

P: n/a
Hi!
OpenFiles.exe
OK, on a standard CPU/windows.
On a server, use: Net File

@-salutations
--
Michel Claveau

Apr 8 '08 #7

P: n/a
Oh and don't forget to take care about saving correctly the Oracle
database ! ^^
(private joke *giggles* j/k :))

Regards,
--
Guillaume
Apr 8 '08 #8

P: n/a
On Apr 8, 10:56 am, "Bruno GUERPILLON" <b...@bg.frwrote:
"Mike Driscoll" <kyoso...@gmail.coma écrit dans le message de news:
c62d02f7-62c4-447d-a456-261fefb8b...@e67g2000hsa.googlegroups.com...
On Apr 8, 10:16 am, "Bruno GUERPILLON" <b...@bg.frwrote:
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
Apr 8 '08 #9

P: n/a

"Guillaume" <gg*****@NOSPAM.gmail.com.INVALIDa écrit dans le message de
news: ft***********@biggoron.nerim.net...
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.
Apr 9 '08 #10

This discussion thread is closed

Replies have been disabled for this discussion.