This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, 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. Thank you very much.
Originally posted by Stefan Wagner: And why do you ask in the linux/unix-section?
Because Windows people don't know what the "fuser" command is?
Seriously, though, there are Windows utilities for this kind of stuff, but unlike Linux, they aren't part of either the base distro or Microsoft developer kits. I recommend Google, since I've tried to avoid using Windows enough that I no longer remember their names.
BTW, "bumping" a query (especially after only 2 hours!) isn't considered polite on JavaRanch. The way things work around here, if SOMEONE hasn't answered within a day or 2 and you're not using some sort of fictitious name, we probably don't know the answer. Fortunately, we know LOTS of answers!
An IDE is no substitute for an Intelligent Developer.