Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

share (command)

From Wikipedia, the free encyclopedia
share
DevelopersMicrosoft,Paragon Technology Systems,DR,Datalight,Novell, Ron Cemer
Initial release1984, 41–42 years ago
Operating systemMS-DOS,PTS-DOS,SISNE plus,Windows,DR DOS,ROM-DOS,FreeDOS
TypeCommand

Incomputing,share is acommand forDOS that allows software to performfile locks. Locking files became necessary whenMS-DOS began allowing files to be accessed simultaneously by multiple programs, either throughmultitasking ornetworking.[1][2][3]

Implementations

[edit]

On MS-DOS, the command is available in versions 3 and later.[4] The command is also available inFreeDOS,[5]PTS-DOS,[6] andSISNE plus.[7] The FreeDOS version was developed by Ron Cemer and is licensed under theGPL.[8]DR DOS 6.0[9] andDatalightROM-DOS[10] include an implementation of theshare command.

Windows XP and later versions include16-bit commands (nonnative) for theMS-DOS subsystem that are included to maintain MS-DOS compatibility. Theshare MS-DOS subsystem command performs functions that are now inherent toMicrosoft Windows. It is available to preserve compatibility with existing files, but has no effect at thecommand line because the functionality is automatic. The 16-bit MS-DOS subsystem commands are not available on64-bit editions of Windows.[11]

Design

[edit]

There were five locking modes:

  • Deny None
  • Deny Read
  • Deny Write
  • Deny All
  • Compatibility (designed forbackward compatibility with existing MS-DOS programs)

The program runs as aterminate-and-stay-resident program and is typically loaded at boot-up.

Syntax

[edit]
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

[edit]

References

[edit]
  1. ^Jamsa, Kris A. (1993),DOS: The Complete Reference,Osborne McGraw-Hill, p. 206,ISBN 0078819040.
  2. ^"DOS Command: SHARE".
  3. ^MS-DOS and Windows command line share command
  4. ^Wolverton, Van (2003).Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition.Microsoft Press.ISBN 0-7356-1812-7.
  5. ^"FreeDOS 1.2 Updates Group - FreeDOS Base". Ibiblio.org. Retrieved2022-09-08.
  6. ^"PTS-DOS 2000 Pro User Manual"(PDF). Buggingen, Germany:Paragon Technology GmbH. 1999.Archived(PDF) from the original on 2018-05-12. Retrieved2018-05-12.
  7. ^SISNE plus - Referência Sumária | Datassette
  8. ^"FreeDOS 1.2 Updates Package - share (FreeDOS Base)". Ibiblio.org. 2007-10-20. Retrieved2022-09-08.
  9. ^DR DOS 6.0 User Guide Optimisation and Configuration Tips
  10. ^"Datalight ROM-DOS User's Guide"(PDF).www.datalight.com.
  11. ^MS-DOS subsystem commands

Further reading

[edit]


Stub icon

This DOS software-related article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Share_(command)&oldid=1135257047"
Categories:
Hidden category:

[8]ページ先頭

©2009-2026 Movatter.jp