Windows

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.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store