openfiles
CautionWho has files open
openfiles /query /s <server>
Shows (and disconnects) open files on shares — find who's holding the file everyone needs.
Examples
openfiles /query /s fileserver | findstr 予算Find who has the file open
Syntax
openfiles /query [/s server] / openfiles /disconnect
Before you run it
Disconnects discard their unsaved edits.
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store