permaculture playing cards*
The moose likes Linux / UNIX and the fly likes Finding PID of a file in Windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Finding PID of a file in Windows" Watch "Finding PID of a file in Windows" New topic
Author

Finding PID of a file in Windows

Allan Santana
Greenhorn

Joined: Apr 28, 2007
Posts: 3
Hi,
I need to know how I can get the PID of a process that locking a file (the same of command fuser in Linux). I need this PID to kill the process automatically on Windows and after delete this file.
Thank you very much.
 
Consider Paul's rocket mass heater.
 
subject: Finding PID of a file in Windows