Windows CMD: Determine which application is using a file
This isn't really a programming question... Are there any ways to determine which application is currently using a file? I've been infected with one of those autorun.inf viruses. When I try to delete the autorun.inf Windows tells me the files is in use by another application (obviously, the virus).
Can I find out which application is using the file? I'd probably be easier to just grab a free antivirus but I'd like 开发者_运维百科to first try and remove the malware myself before I try anything else (could be useful knowledge).
You can use sysinternals' Process Explorer or Process Monitor to do that.
精彩评论