Sharing violation, Lock violation

Microsoft MS-DOS

Severity: Moderate

What it means

Sharing violation: a program tried to access a file, but another program is currently using that file.
Lock violation: a program tried to access part of a file that is being used by another program.
Lock violation only comes when SHARE is loaded.

Affected Models

  • IBM PC compatibles running MS-DOS

How to Fix It

  1. Wait a while, and choose Retry.

  2. Still there?
    Choose Abort, and try again later.

  3. On a network: ask who has the file open.