This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Finding PID of a file in Windows
 
Similar Threads
how to kill a process(I know the port in which it runs)
The Java Virtual Machine has exited with a code of 1, the service is being stopped.
Get the UNIX process ID of the java program
Finding PID of a file in Windows
Finding PID from file in Windows