Results 1 to 2 of 2

Thread: Finding PID of a file in Windows...

  1. #1
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Finding PID of a file in Windows...

    I need to know how I can get the PID of a process that locking a file in the Windows(the same of command fuser in Linux). I need this PID to kill the process automatically and after delete this file.


    -------------------------
    suresh


  2. #2
    Junior Member
    Join Date
    Aug 2007
    Answers
    15

    Re: Finding PID of a file in Windows...

    Hi

    Though I couldn't get your question clearly still am trying to answer it.

    To get the PID of a process in Windows you can use tasklist in the command prompt. To kill a specific process use taskkill /pid pidno(for e.g. 1234) command.

    Just let me know if this is what you were looking for.

    Thanks and Regards
    Ashis


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact