Any windows command to find if a file is in use or not ?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
npocmaka_
Posts: 516
Joined: 24 Jun 2013 17:10
Location: Bulgaria
Contact:

Re: Any windows command to find if a file is in use or not ?

#16 Post by npocmaka_ » 22 Apr 2014 13:08

This should list handled files : http://technet.microsoft.com/bg-bg/sysi ... 96655.aspx
There's also a property in WIN32_Process class that shows handels but is not used in WMIC utility.
It will be easy to create a vbs/jscript that reads that property and iterates the processes (may be I'll try)

Post Reply