Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a command for cmd or powershell i can detect (and possibly delete) file/folder-locks.

Something like net file?


the Answer "no there is no such command" is eligible too.

share|improve this question
Is a third party executable acceptable? – Bob Jun 27 '12 at 13:01
@Bob I know there are several tools out there for this purpose, but i would like the to keep it "simple" with a/some cmd commands. – Christoph Jun 27 '12 at 13:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.