encyclopegia.org

Share (command)

In computing, share is a command for DOS that allows software to perform file locks. Locking files became necessary when MS-DOS began allowing files to be accessed simultaneously by multiple programs, either through multitasking or networking.

In computing, share is a command for DOS that allows software to perform file locks. Locking files became necessary when MS-DOS began allowing files to be accessed simultaneously by multiple programs, either through multitasking or networking. ==Implementations== On MS-DOS, the command is available in versions 3 and later. The command is also available in FreeDOS, PTS-DOS, and SISNE plus. The FreeDOS version was developed by Ron Cemer and is licensed under the GPL. DR DOS 6.0 and Datalight ROM-DOS include an implementation of the command. Windows XP and later versions include 16-bit commands (nonnative) for the MS-DOS subsystem that are included to maintain MS-DOS compatibility. The share MS-DOS subsystem command performs functions that are now inherent to Microsoft Windows. It is available to preserve compatibility with existing files, but has no effect at the command line because the functionality is automatic. The 16-bit MS-DOS subsystem commands are not available on 64-bit editions of Windows. ==Design== There were five locking modes: Deny None Deny Read Deny Write Deny All Compatibility (designed for backward compatibility with existing MS-DOS programs) The program runs as a terminate-and-stay-resident program and is typically loaded at boot-up. ==Syntax== share [/F:space] [/L:locks] /F:space Allocates file space (in bytes) for file-sharing information. /L:locks Sets the number of files that can be locked at one time. ==See also== List of DOS commands ==References== ==Further reading==

References

No reference rows published for this article.

Cite this article

MLA

"Share (command)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/share-command. Accessed 24 November 2026.

Chicago

"Share (command)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/share-command.

APA

encyclopegia.org. (2026). Share (command). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/share-command

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

The ITF Year

enwiki · references available

Daniel Ouezzin Coulibaly

enwiki · references available

Solituderennen

enwiki · references available

Adamantinia

enwiki · references available

Claude Germany

enwiki · references available

Hamza Shehata

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1340790267 · 0.5 · snapshot enwiki-001340790267

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.