List open files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bruno GUERPILLON

    List open files

    Hi,

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

    Regards,

    Bruno.


  • Mike Driscoll

    #2
    Re: List open files

    On Apr 8, 10:16 am, "Bruno GUERPILLON" <b...@bg.frwrot e:
    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

    Comment

    • Miki

      #3
      Re: List open files

      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.as px), you might
      find stuff there that will help you.

      HTH,
      --
      Miki <miki.tebeka@gm ail.com>
      If it won't be simple, it simply won't be. [Hire me, source code]

      Comment

      • Bruno GUERPILLON

        #4
        Re: List open files


        "Mike Driscoll" <kyosohma@gmail .coma écrit dans le message de news:
        c62d02f7-62c4-447d-a456-261fefb8b021...l egroups.com...
        On Apr 8, 10:16 am, "Bruno GUERPILLON" <b...@bg.frwrot e:
        >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


        Comment

        • Bruno GUERPILLON

          #5
          Re: List open files


          "Miki" <miki.tebeka@gm ail.coma écrit dans le message de news:
          2af7d536-eb72-4e6d-96ca-3c91455b06b9...le groups.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.as px), you might
          find stuff there that will help you.
          >
          HTH,
          --
          Miki <miki.tebeka@gm ail.com>
          http://pythonwise.blogspot.com
          Thanks Miki,

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

          Regards,


          Comment

          • Méta-MCI \(MVP\)

            #6
            Re: List open files

            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




            Comment

            • Méta-MCI \(MVP\)

              #7
              Re: List open files

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

              @-salutations
              --
              Michel Claveau

              Comment

              • Guillaume

                #8
                Re: List open files

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

                Regards,
                --
                Guillaume

                Comment

                • Mike Driscoll

                  #9
                  Re: List open files

                  On Apr 8, 10:56 am, "Bruno GUERPILLON" <b...@bg.frwrot e:
                  "Mike Driscoll" <kyoso...@gmail .coma écrit dans le message de news:
                  c62d02f7-62c4-447d-a456-261fefb8b...@e6 7g2000hsa.googl egroups.com...
                  >
                  On Apr 8, 10:16 am, "Bruno GUERPILLON" <b...@bg.frwrot e:
                  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

                  Comment

                  • Bruno GUERPILLON

                    #10
                    Re: List open files


                    "Guillaume" <ggrason@NOSPAM .gmail.com.INVA LIDa écrit dans le message de
                    news: ftg58p$2fek$2@b iggoron.nerim.n et...
                    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.


                    Comment

                    Working...